Commit b1806089 authored by youjj's avatar youjj

路径配置

parent 616e92cc
......@@ -31,22 +31,22 @@ module.exports = {
assetsPublicPath: '/',
proxyTable: {
'/jwt': {
// target: 'http://10.5.52.3:8765',
target: 'http://localhost:8765',
target: 'http://10.5.52.3:8765',
// target: 'http://localhost:8765',
pathRewrite: {
'^/jwt': '/jwt'
},
},
'/api':{
// target: 'http://10.5.52.3:8765',
target: 'http://localhost:8765',
target: 'http://10.5.52.3:8765',
// target: 'http://localhost:8765',
pathRewrite: {
'^/api': '/api'
},
},
'/vehicle': {
// target: 'http://10.5.52.3:8765'
target: 'http://localhost:8765'
target: 'http://10.5.52.3:8765'
// target: 'http://localhost:8765'
},
},
// CSS Sourcemaps off by default because relative paths are "buggy"
......
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