|
|
@ -12,6 +12,7 @@ module.exports = {
|
|
|
|
proxyTable: {
|
|
|
|
proxyTable: {
|
|
|
|
'/api': {
|
|
|
|
'/api': {
|
|
|
|
target: 'http://192.168.50.39:8088',
|
|
|
|
target: 'http://192.168.50.39:8088',
|
|
|
|
|
|
|
|
|
|
|
|
changeOrigin: true,
|
|
|
|
changeOrigin: true,
|
|
|
|
pathRewrite: {
|
|
|
|
pathRewrite: {
|
|
|
|
'^/api': ''
|
|
|
|
'^/api': ''
|
|
|
@ -28,7 +29,7 @@ module.exports = {
|
|
|
|
|
|
|
|
|
|
|
|
// Various Dev Server settings
|
|
|
|
// Various Dev Server settings
|
|
|
|
host: '0.0.0.0', // can be overwritten by process.env.HOST
|
|
|
|
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,
|
|
|
|
autoOpenBrowser: false,
|
|
|
|
errorOverlay: true,
|
|
|
|
errorOverlay: true,
|
|
|
|
notifyOnErrors: false,
|
|
|
|
notifyOnErrors: false,
|
|
|
@ -98,4 +99,4 @@ module.exports = {
|
|
|
|
// `npm run build:prod --generate_report`
|
|
|
|
// `npm run build:prod --generate_report`
|
|
|
|
generateAnalyzerReport: process.env.npm_config_generate_report || false
|
|
|
|
generateAnalyzerReport: process.env.npm_config_generate_report || false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|