Browse Source

去除代理

JXDS18FUJT 1 year ago
parent
commit
165b9a90be
1 changed files with 1 additions and 7 deletions
  1. 1 7
      vue.config.js

+ 1 - 7
vue.config.js

@@ -33,13 +33,7 @@ module.exports = {
     open: true,
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
-      [process.env.VUE_APP_BASE_API]: {
-        target: `https://xpgx1.zzxcx.net/stage-api/`,
-        changeOrigin: true,
-        pathRewrite: {
-          ["^" + process.env.VUE_APP_BASE_API]: "",
-        },
-      },
+    
     },
     disableHostCheck: true,
   },