This commit is contained in:
dute7liang
2024-01-30 00:25:56 +08:00
parent 19bcf0345a
commit 959235e65c
4 changed files with 76 additions and 44 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]: ''