chao 5 miesięcy temu
rodzic
commit
fd62e50cf9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      public/index.html

+ 1 - 1
public/index.html

@@ -684,7 +684,7 @@
     </div>
 
     <script>
-        const requesturl = window.location.href;
+        const requesturl = window.location.href.indexOf("localhost") > -1 ? "http://localhost:11111" : "http://183.36.25.93:555/";
         console.log("requesturl:", requesturl);
 
         const nowTime = new Date();