This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
zhangzl
/
nsgk_mobile
Watch
2
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
提交打包
wulanhaote
张泽亮
3 years ago
parent
1341655fad
commit
6a16b5e2f4
2 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
config/dev.env.js
+2
-2
config/index.js
+ 1
- 1
config/dev.env.js
View File
@@ -4,5 +4,5 @@ const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
NODE_ENV: '"development"',
VUE_APP_BASE_API: '"/
dev-
api"'
VUE_APP_BASE_API: '"/api"'
})
+ 2
- 2
config/index.js
View File
@@ -10,13 +10,13 @@ module.exports = {
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {
"/
dev-
api": {
"/api": {
// 请求的目标主机
//target: 'http://116.255.135.38:8081/nsgk_test/',
target: 'http://localhost:8080/',
changeOrigin: true,
pathRewrite: {
'^/
dev-
api': ''
'^/api': ''
}
}
},
Write
Preview
Loading…
Cancel
Save