소스 검색

去除代理

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,
   },