瀏覽代碼

去除代理

JXDS18FUJT 1 年之前
父節點
當前提交
165b9a90be
共有 1 個文件被更改,包括 1 次插入7 次删除
  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,
   },