wq 5 年之前
父节点
当前提交
215a51b8ff
共有 1 个文件被更改,包括 7 次插入2 次删除
  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,
-      },
+    },
     },
   },
 };