shxiaoc 1 년 전
부모
커밋
ab21ca052c
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      config/index.js

+ 3 - 3
config/index.js

@@ -90,12 +90,12 @@ let proxyTable = {
     //以下两行代码为测试环境
     // target: 'https://wl.dasteel.cn:32322/api/v1',
     // secure: false,
-    // target: 'http://localhost:8080',
+    //target: 'http://localhost:8080',
     // target: 'http://192.168.1.104:8080',
     ws: true,
     pathRewrite: {
-      // '^/api/v1': '/api/v1'
-      '^/api/v1': ''
+      '^/api/v1': '/api/v1'
+      // '^/api/v1': ''
     }
   },
   '/views/api/v1': {