xiongzhu 4 rokov pred
rodič
commit
4ac864bb04
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/main/nine-space/src/main.js

+ 1 - 1
src/main/nine-space/src/main.js

@@ -37,7 +37,7 @@ if (query.code) {
         localStorage.setItem('openId', res);
         localStorage.setItem('openId', res);
     });
     });
 } else {
 } else {
-    if (/micromessenger/i.test(navigator.userAgent) && /localhost|(192\.168)/i.test(location.host)) {
+    if (/micromessenger/i.test(navigator.userAgent) && !/localhost|(192\.168)/i.test(location.host)) {
         document.location.replace('https://nft.9space.vip/wx/redirect?redirectUrl=' + location.href);
         document.location.replace('https://nft.9space.vip/wx/redirect?redirectUrl=' + location.href);
     }
     }
 }
 }