修改配置打包
This commit is contained in:
@ -35,8 +35,11 @@ module.exports = {
|
||||
proxy: {
|
||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||
[process.env.VUE_APP_BASE_API]: {
|
||||
// target: `http://192.168.0.142:8000`,
|
||||
target: `http://hf.zky.cn:8000`,
|
||||
// target: `http://101.34.131.16:8000`,
|
||||
target: `http://192.168.0.149:8000`,
|
||||
// target: `http://192.168.0.135:8000`,
|
||||
// target: `http://zky.server.ipeace.org.cn`,
|
||||
// target: `http://hf.zky.cn:8000`,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
['^' + process.env.VUE_APP_BASE_API]: '',
|
||||
|
Reference in New Issue
Block a user