Commit e90640f8 by 吴学德

修改请求路径

parent e0513539
......@@ -12,14 +12,14 @@ const local = {
'^/api/auth/ciop': '/auth/ciop'
}
},
'/api/schoolcenter': {
'/api/api/ciop': {
target: 'http://localhost:11091',
//target: 'http://132.97.54.60:58334',
ws: false,
changeOrigin: true,
pathRewrite: {
//默认所有请求都加了api前缀,需要去掉
'^/api/schoolcenter': '/'
'^/api/api/ciop': '/ciop'
}
},
'/api/report': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment