shxiaoc 1 год назад
Родитель
Сommit
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': {