lrf402788946 5 年之前
父節點
當前提交
02506f11cb
共有 1 個文件被更改,包括 9 次插入3 次删除
  1. 9 3
      vue.config.js

+ 9 - 3
vue.config.js

@@ -27,10 +27,10 @@ module.exports = {
       //   ws: true,
       // },
       '/files': {
-        target: 'http://smart.cc-lotus.info',
+        target: 'http://free.liaoningdoupo.com',
       },
       '/api/setting': {
-        target: 'http://free.liaoningdoupo.com',
+        target: 'http://127.0.0.1:9000',
         changeOrigin: true,
         ws: true,
       },
@@ -62,7 +62,13 @@ module.exports = {
         // pathRewrite: { '^/api/affairs': '/api' },
       },
       '/api/market': {
-        target: 'http://free.liaoningdoupo.com',
+        target: 'http://127.0.0.1:9004',
+        changeOrigin: true,
+        ws: true,
+        // pathRewrite: { '^/api/affairs': '/api' },
+      },
+      '/api/live': {
+        target: 'http://127.0.0.1:9005',
         changeOrigin: true,
         ws: true,
         // pathRewrite: { '^/api/affairs': '/api' },