|
@@ -30,17 +30,17 @@ module.exports = {
|
|
|
host: '0.0.0.0',
|
|
|
port: port,
|
|
|
open: true,
|
|
|
- proxy: {
|
|
|
- // detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
|
- [process.env.VUE_APP_BASE_API]: {
|
|
|
- //target: `http://172.16.120.85:8085`, //本地
|
|
|
- target: 'https://smartpark.caih.com/dxapi/', //东信
|
|
|
- changeOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- ['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
+ // proxy: {
|
|
|
+ // // detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
|
+ // [process.env.VUE_APP_BASE_API]: {
|
|
|
+ // //target: `http://172.16.120.85:8085`, //本地
|
|
|
+ // target: 'https://smartpark.caih.com/dxapi/', //东信
|
|
|
+ // changeOrigin: true,
|
|
|
+ // pathRewrite: {
|
|
|
+ // ['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // },
|
|
|
disableHostCheck: true
|
|
|
},
|
|
|
configureWebpack: {
|
|
@@ -125,4 +125,4 @@ module.exports = {
|
|
|
}
|
|
|
)
|
|
|
}
|
|
|
-}
|
|
|
+}
|