修改后端路径
This commit is contained in:
parent
9a12f02fa3
commit
442eb31de8
@ -33,8 +33,7 @@ module.exports = {
|
||||
proxy: {
|
||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||
[process.env.VUE_APP_BASE_API]: {
|
||||
target: `http://121.199.20.209/prod-api`,
|
||||
// target: `http://localhost:16009`,
|
||||
target: `https://www.carpool.vip/prod-api`,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user