lrf402788946 4 years ago
parent
commit
36813ff652
1 changed files with 11 additions and 1 deletions
  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': {