guhongwei %!s(int64=4) %!d(string=hai) anos
pai
achega
9c43a82089
Modificáronse 1 ficheiros con 32 adicións e 36 borrados
  1. 32 36
      vue.config.js

+ 32 - 36
vue.config.js

@@ -25,10 +25,6 @@ module.exports = {
         changeOrigin: true,
         ws: true,
       },
-      // '/api': {
-      //   target: 'http://smart.cc-lotus.info',
-      //   ws: true,
-      // },
       '/files': {
         target: 'http://free.liaoningdoupo.com',
       },
@@ -37,38 +33,38 @@ module.exports = {
         changeOrigin: true,
         ws: true,
       },
-      // '/api/setting': {
-      //   target: 'http://10.16.10.72:9000',
-      //   changeOrigin: true,
-      //   ws: true,
-      // },
-      // '/api/affairs': {
-      //   target: 'http://free.liaoningdoupo.com',
-      //   changeOrigin: true,
-      //   ws: true,
-      // },
-      // '/api/policy': {
-      //   target: 'http://free.liaoningdoupo.com',
-      //   changeOrigin: true,
-      //   ws: true,
-      // },
-      // '/api/record': {
-      //   target: 'http://free.liaoningdoupo.com',
-      //   changeOrigin: true,
-      //   ws: true,
-      // },
-      // '/api/serve': {
-      //   target: 'http://free.liaoningdoupo.com',
-      //   changeOrigin: true,
-      //   ws: true,
-      //   // pathRewrite: { '^/api/affairs': '/api' },
-      // },
-      // '/api/talent': {
-      //   target: 'http://free.liaoningdoupo.com',
-      //   changeOrigin: true,
-      //   ws: true,
-      //   // pathRewrite: { '^/api/affairs': '/api' },
-      // },
+      '/api/setting': {
+        target: 'http://10.16.10.72:9000',
+        changeOrigin: true,
+        ws: true,
+      },
+      '/api/affairs': {
+        target: 'http://free.liaoningdoupo.com',
+        changeOrigin: true,
+        ws: true,
+      },
+      '/api/policy': {
+        target: 'http://free.liaoningdoupo.com',
+        changeOrigin: true,
+        ws: true,
+      },
+      '/api/record': {
+        target: 'http://free.liaoningdoupo.com',
+        changeOrigin: true,
+        ws: true,
+      },
+      '/api/serve': {
+        target: 'http://free.liaoningdoupo.com',
+        changeOrigin: true,
+        ws: true,
+        // pathRewrite: { '^/api/affairs': '/api' },
+      },
+      '/api/talent': {
+        target: 'http://free.liaoningdoupo.com',
+        changeOrigin: true,
+        ws: true,
+        // pathRewrite: { '^/api/affairs': '/api' },
+      },
       // '/api/market': {
       //   target: 'http://free.liaoningdoupo.com',
       //   changeOrigin: true,