This commit is contained in:
@@ -18,12 +18,14 @@ export default ({ mode, command }) => {
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:8123',
|
||||
// target: 'http://120.197.149.12:8480',
|
||||
// target: 'https://2df1-223-74-180-188.ngrok-free.app ',
|
||||
//target: 'https://saber3.bladex.cn/api',
|
||||
changeOrigin: true,
|
||||
rewrite: path => path.replace(/^\/api/, ''),
|
||||
},
|
||||
// 武术业务模块保留 /api 前缀
|
||||
'/api': {
|
||||
target: 'http://localhost:8123',
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
resolve: {
|
||||
|
||||
Reference in New Issue
Block a user