|
|
@@ -34,7 +34,8 @@ lintOnSave: false,
|
|
|
https: false, // 是否开启https模式
|
|
|
proxy: { // 请求代理服务器
|
|
|
'/powerForecast': { //带上api前缀的
|
|
|
- target: 'http://39.105.58.247:10880/powerForecast/', //代理目标地址
|
|
|
+ // target: 'http://39.105.58.247:10880/powerForecast/', //代理目标地址
|
|
|
+ target: 'http://127.0.0.1:10880/powerForecast/',
|
|
|
changeOrigin: true,
|
|
|
secure: false,
|
|
|
pathRewrite: { // 在发出请求后将/api替换为''空值,这样不影响接口请求
|