增加了默认的AI入口路径

This commit is contained in:
allen2fuc
2026-04-30 09:17:38 +08:00
parent 22ec4bb710
commit 90bd091c62
+1 -1
View File
@@ -17,7 +17,7 @@ export function getAIBaseUrl(): string {
if (fromLs) return fromLs.replace(/\/$/, ""); if (fromLs) return fromLs.replace(/\/$/, "");
const fromEnv = (import.meta as any).env?.VITE_AI_API_URL as string | undefined; const fromEnv = (import.meta as any).env?.VITE_AI_API_URL as string | undefined;
if (fromEnv) return fromEnv.replace(/\/$/, ""); if (fromEnv) return fromEnv.replace(/\/$/, "");
return "http://localhost:8000"; return "https://v2ai.luxsin.com.cn";
} }
// ============================================================ // ============================================================