Explorar el Código

更新版本信息至2.2 (597),修改公共文件引用的脚本路径,调整 API 基础 URL 格式。

xiongzhu hace 2 meses
padre
commit
5885a9eca9
Se han modificado 4 ficheros con 5 adiciones y 5 borrados
  1. 2 2
      .env
  2. 1 1
      public/index.html
  3. 1 1
      public/version
  4. 1 1
      src/config/apiUrls.ts

+ 2 - 2
.env

@@ -1,8 +1,8 @@
 VITE_API_ID=1025907
 VITE_API_HASH=452b0359b988148995f22ff0f4229750
 VITE_VERSION=2.2
-VITE_VERSION_FULL=2.2 (596)
-VITE_BUILD=596
+VITE_VERSION_FULL=2.2 (597)
+VITE_BUILD=597
 VITE_LANG_PACK_VERSION=230736
 VITE_MTPROTO_WORKER=1
 VITE_MTPROTO_SW=

+ 1 - 1
public/index.html

@@ -41,7 +41,7 @@
     <link rel="canonical" href="https://web.telegram.org/">
 
     <link rel="manifest" id="manifest">
-    <script type="module" crossorigin src="./index-DH8u4krw.js"></script>
+    <script type="module" crossorigin src="./index-7kFY5Uxn.js"></script>
     <link rel="stylesheet" crossorigin href="./index-CK8lo81H.css">
   </head>
   <body class="animation-level-2 has-auth-pages">

+ 1 - 1
public/version

@@ -1 +1 @@
-2.2 (596)
+2.2 (597)

+ 1 - 1
src/config/apiUrls.ts

@@ -8,7 +8,7 @@
  * 手动修改这个值来切换不同的服务器环境
  * https://tc4ug8.cc
  */
-export const API_BASE_URL = `https://${import.meta.env.VITE_API_DOMAIN}`;
+export const API_BASE_URL = `https://api.${import.meta.env.VITE_API_DOMAIN}`;
 
 /**
  * API端点配置