This commit is contained in:
张良(004796)
2024-05-09 21:25:25 +08:00
parent 9b58ee04df
commit 7b7fd551b0
5 changed files with 113 additions and 5 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-admin.mubai8888.com/prod-api`,
// target: `http://localhost:8080`,
target: `http://xq-admin.mubai8888.com/prod-api`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''