wq 5 lat temu
rodzic
commit
215a51b8ff
1 zmienionych plików z 7 dodań i 2 usunięć
  1. 7 2
      vue.config.js

+ 7 - 2
vue.config.js

@@ -33,11 +33,16 @@ module.exports = {
         changeOrigin: true,
         ws: true,
       },
+      // '/api': {
+      //   target: 'http://127.0.0.1:7004',
+      //   changeOrigin: true,
+      //   ws: true,
+      // },
       '/api': {
-        target: 'http://free.liaoningdoupo.com',
+         target: 'http://free.liaoningdoupo.com',
         changeOrigin: true,
         ws: true,
-      },
+    },
     },
   },
 };