shxiaoc 1 jaar geleden
bovenliggende
commit
ab21ca052c
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  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': {