|
@@ -11,13 +11,9 @@ module.exports = {
|
11
|
11
|
assetsSubDirectory: 'static',
|
12
|
12
|
assetsPublicPath: '/',
|
13
|
13
|
proxyTable: {
|
14
|
|
- // '/api': {
|
15
|
|
- // target: 'http://123.57.65.31:9004',
|
16
|
|
- // changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
|
17
|
|
- // pathRewrite: { '^/api': '/api' }
|
18
|
|
- // }
|
19
|
14
|
'/api': {
|
20
|
|
- target: 'https://app.xnsport.cn',
|
|
15
|
+ target: 'http://127.0.0.1:8080',
|
|
16
|
+ // target: 'https://app.xnsport.cn',
|
21
|
17
|
changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
|
22
|
18
|
pathRewrite: { '^/api': '/api' }
|
23
|
19
|
}
|