|
@@ -11,11 +11,11 @@ export default {
|
11
|
11
|
// localhost:8000/api/** -> https://preview.pro.ant.design/api/**
|
12
|
12
|
'/api/': {
|
13
|
13
|
// 要代理的地址
|
14
|
|
- target: 'http://invoice-filling.stategrid.njyunzhi.com',
|
|
14
|
+ target: 'http://localhost:7081',
|
15
|
15
|
changeOrigin: true,
|
16
|
16
|
headers: {
|
17
|
|
- origin: 'http://invoice-filling.stategrid.njyunzhi.com',
|
18
|
|
- referer: 'http://invoice-filling.stategrid.njyunzhi.com',
|
|
17
|
+ origin: 'http://localhost:7081',
|
|
18
|
+ referer: 'http://localhost:7081',
|
19
|
19
|
},
|
20
|
20
|
},
|
21
|
21
|
},
|