Browse Source

修改第三方地址

cc12458 2 tháng trước cách đây
mục cha
commit
205976fba8
3 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 1 1
      public/chat/ai.html
  2. 1 1
      public/chat/e.html
  3. 1 1
      public/chat/guide.html

+ 1 - 1
public/chat/ai.html

@@ -72,7 +72,7 @@
 <!-- 主应用脚本 -->
 <script>
     const searchParams = new URLSearchParams(window.location.search);
-    const host = `https://dev.hzliuzhi.com:62006`;
+    const host = window.location.origin;
     document.addEventListener('DOMContentLoaded', function () {
         if (searchParams.has('hide_title')) document.querySelector('.container-fluid header').style.display = 'none';
         else document.querySelector('.container-fluid header').innerHTML = document.title;

+ 1 - 1
public/chat/e.html

@@ -165,7 +165,7 @@ const r1 = `
 </script>
 <script>
     const searchParams = new URLSearchParams(window.location.search);
-    const host = `https://dev.hzliuzhi.com:62006`;
+    const host = window.location.origin;
     document.addEventListener('DOMContentLoaded', function () {
         if (searchParams.has('hide_title')) document.querySelector('.container-fluid header').style.display = 'none';
         else document.querySelector('.container-fluid header').innerHTML = document.title;

+ 1 - 1
public/chat/guide.html

@@ -76,7 +76,7 @@
 <!-- 主应用脚本 -->
 <script>
     const searchParams = new URLSearchParams(window.location.search);
-    const host = `https://dev.hzliuzhi.com:62006`;
+    const host = window.location.origin;
     document.addEventListener('DOMContentLoaded', function () {
         if (searchParams.has('hide_title')) document.querySelector('.container-fluid header').style.display = 'none';
         else document.querySelector('.container-fluid header').innerHTML = document.title;