This commit is contained in:
@@ -21,11 +21,11 @@ export default ({ mode, command }) => {
|
||||
changeOrigin: true,
|
||||
rewrite: path => path.replace(/^\/api/, ''),
|
||||
},
|
||||
// 武术业务模块保留 /api 前缀
|
||||
'/api': {
|
||||
target: 'http://localhost:8123',
|
||||
changeOrigin: true,
|
||||
},
|
||||
// // 武术业务模块保留 /api 前缀
|
||||
// '/api': {
|
||||
// target: 'http://localhost:8123',
|
||||
// changeOrigin: true,
|
||||
// },
|
||||
},
|
||||
},
|
||||
resolve: {
|
||||
|
||||
Reference in New Issue
Block a user