增加了默认的AI入口路径
This commit is contained in:
@@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
// ============================================================
|
// ============================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user