Commit b1806089 authored by youjj's avatar youjj

路径配置

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