소스 검색

配置文件

彭宇 2 년 전
부모
커밋
41e12c3cb5
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      vue.config.js

+ 3 - 2
vue.config.js

@@ -42,8 +42,9 @@ module.exports = {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-         // target: `https://127.0.0.1:3031`,
-        target: `https://117.78.49.164:3031`,
+        // target: `https://www.sunyishi.com:3031`,
+        // target: `https://117.78.49.164:3031`,
+        target: `https://www.py.com:3031`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''