This commit is contained in:
John
2024-04-23 00:24:38 +08:00
parent 0cc2041f41
commit 56d79b74ed
3 changed files with 45 additions and 37 deletions

View File

@@ -35,8 +35,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://localhost:8080`,
// target: `http://xq.qiqizl.com/prod-api`,
// target: `http://localhost:8080`,
target: `http://xq.qiqizl.com/prod-api`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''