修改请求后缀
This commit is contained in:
@@ -13,13 +13,13 @@ module.exports = {
|
||||
assetsPublicPath: '/',
|
||||
// 代理列表, 是否开启代理通过[./dev.env.js]配置
|
||||
proxyTable: devEnv.OPEN_PROXY === false ? {} : {
|
||||
'/sqx_fast': {
|
||||
// target: 'http://192.168.0.132:8184/sqx_fast/',
|
||||
// target: 'https://duanjudl.xianmxkj.com/sqx_fast/',
|
||||
target: 'http://127.0.0.1/sqx_fast/',
|
||||
'/czg': {
|
||||
// target: 'http://192.168.0.132:8184/czg/',
|
||||
// target: 'https://duanjudl.xianmxkj.com/czg/',
|
||||
target: 'http://127.0.0.1/czg/',
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
'^/sqx_fast': ''
|
||||
'^/czg': ''
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user