|
|
@ -55,11 +55,11 @@ module.exports = (options = {}) => ({
|
|
|
|
extensions: ['.js', '.vue', '.json', '.css']
|
|
|
|
extensions: ['.js', '.vue', '.json', '.css']
|
|
|
|
},
|
|
|
|
},
|
|
|
|
devServer: {
|
|
|
|
devServer: {
|
|
|
|
host: '192.168.31.140',
|
|
|
|
host: '127.0.0.1',
|
|
|
|
port: 8010,
|
|
|
|
port: 8010,
|
|
|
|
proxy: {
|
|
|
|
proxy: {
|
|
|
|
'/api/': {
|
|
|
|
'/api/': {
|
|
|
|
target: 'http://192.168.31.140:8080',
|
|
|
|
target: 'http://127.0.0.1:8080',
|
|
|
|
changeOrigin: true,
|
|
|
|
changeOrigin: true,
|
|
|
|
pathRewrite: {
|
|
|
|
pathRewrite: {
|
|
|
|
'^/api': ''
|
|
|
|
'^/api': ''
|
|
|
|