lrf402788946 4 năm trước cách đây
mục cha
commit
36813ff652
1 tập tin đã thay đổi với 11 bổ sung1 xóa
  1. 11 1
      vue.config.js

+ 11 - 1
vue.config.js

@@ -39,13 +39,23 @@ module.exports = {
         changeOrigin: true,
         ws: true,
       },
+      '/api/mission': {
+        target: 'http://127.0.0.1:7004', ///api/train http://free.liaoningdoupo.com http://jytz.jilinjobs.cn
+        changeOrigin: true,
+        ws: true,
+      },
+      '/api/auth': {
+        target: 'http://127.0.0.1:7006', ///api/train http://free.liaoningdoupo.com http://jytz.jilinjobs.cn
+        changeOrigin: true,
+        ws: true,
+      },
       '/files': {
         target: 'http://free.liaoningdoupo.com',
         changeOrigin: true,
         ws: true,
       },
       '/ws': {
-        target: 'http://free.liaoningdoupo.com',
+        target: 'http://127.0.0.1:15674', //http://free.liaoningdoupo.com
         ws: true,
       },
       '/weixin': {