FEAT => 本次更新项目为:

This commit is contained in:
超级老白兔
2025-09-02 11:23:18 +08:00
parent e7b795f744
commit a67ca442a0
3 changed files with 1 additions and 10 deletions

View File

@@ -137,16 +137,7 @@ export const useWebSocketStore = createPersistStore<WebSocketState>(
t: Date.now().toString(),
});
// 调试信息:输出配置和环境变量
// console.log("WebSocket配置信息:", {
// configUrl: fullConfig.url,
// envUrl: (import.meta as any).env?.VITE_API_WS_URL,
// fullConfig,
// params: params.toString(),
// });
const wsUrl = fullConfig.url + "?" + params;
// console.log("最终WebSocket URL:", wsUrl);
// 检查URL是否为localhost如果是则不连接
if (wsUrl.includes("localhost") || wsUrl.includes("127.0.0.1")) {