Bläddra i källkod

update qrcode

lrf402788946 5 år sedan
förälder
incheckning
d0ea03a48c
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/plugins/setting.js

+ 1 - 1
src/plugins/setting.js

@@ -2,7 +2,7 @@ import Vue from 'vue';
 
 
 Vue.config.weixin = {
 Vue.config.weixin = {
   // baseUrl: process.env.BASE_URL + 'weixin',
   // baseUrl: process.env.BASE_URL + 'weixin',
-  baseUrl: 'http://smart.cc-lotus.info/weixin',
+  baseUrl: `http://${location.host}/weixin`,
 };
 };
 
 
 Vue.config.stomp = {
 Vue.config.stomp = {