笔记本页面

This commit is contained in:
董宏凯 committed 2026-05-21 19:40:54 +08:00
1 parent d639b24c2d
commit 125e8b271b
10 files changed
+689 -11

No files matched your search

+10
View File
@@ -68,3 +68,13 @@ export function getLangGraphBaseURL(isMock?: boolean) {
return "http://localhost:2026/api/langgraph";
}
}
/** 轻应用「新建笔记」系列接口的基础地址(与 DeerFlow Gateway 分离)。 */
export function getNoteApiBaseURL(): string {
if (env.NEXT_PUBLIC_NOTE_API_BASE_URL) {
return new URL(env.NEXT_PUBLIC_NOTE_API_BASE_URL, getBaseOrigin())
.toString()
.replace(/\/+$/, "");
}
return "";
}