slowslo 5 år sedan
förälder
incheckning
d43898ae13
1 ändrade filer med 4 tillägg och 2 borttagningar
  1. 4 2
      vue.config.js

+ 4 - 2
vue.config.js

@@ -33,8 +33,10 @@ module.exports = {
         }
       },
       '/api': {
-        // target: 'http://192.168.1.128',
-        target: 'http://36.103.227.152:1777/api',
+        target: 'http://localhost',
+        //测试环境地址
+
+        // target: 'http://36.103.227.152:1777/api',
         ws: true,
         pathRewrite: {
           '^/api': '/'