This commit is contained in:
张良(004796)
2024-01-30 17:34:52 +08:00
parent c91a1018fd
commit 4c642407a8
3 changed files with 114 additions and 4 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://124.222.254.188:9779/prod-api`,
// target: `http://localhost:8080`,
target: `http://124.222.254.188:9779/prod-api`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''