|
|
|
@ -11,14 +11,14 @@ module.exports = {
|
|
|
|
|
assetsPublicPath: '/',
|
|
|
|
|
proxyTable: {
|
|
|
|
|
'/api': {
|
|
|
|
|
target: 'http://192.168.50.40:8088',
|
|
|
|
|
target: 'http://127.0.0.1/',
|
|
|
|
|
changeOrigin: true,
|
|
|
|
|
pathRewrite: {
|
|
|
|
|
'^/api': ''
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
'/file': {
|
|
|
|
|
target: 'http://192.168.50.40:8088/',
|
|
|
|
|
target: 'http://localhost/index.php/',
|
|
|
|
|
changeOrigin: true,
|
|
|
|
|
pathRewrite: {
|
|
|
|
|
'^/file': ''
|
|
|
|
@ -28,7 +28,7 @@ module.exports = {
|
|
|
|
|
|
|
|
|
|
// Various Dev Server settings
|
|
|
|
|
host: '0.0.0.0', // can be overwritten by process.env.HOST
|
|
|
|
|
port: 8090, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
|
|
|
|
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
|
|
|
|
autoOpenBrowser: false,
|
|
|
|
|
errorOverlay: true,
|
|
|
|
|
notifyOnErrors: false,
|
|
|
|
@ -98,4 +98,4 @@ module.exports = {
|
|
|
|
|
// `npm run build:prod --generate_report`
|
|
|
|
|
generateAnalyzerReport: process.env.npm_config_generate_report || false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|