This commit is contained in:
Daniel 2025-03-25 23:57:12 +08:00
parent 69642e3bac
commit 3ebfdf6c5b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
21 changed files with 77 additions and 72 deletions

View file

@ -33,6 +33,9 @@ export const setAccessAuthCode = () => {
export const getCloudURL = (key: string) => {
const origin = window.siyuan.config.cloudRegion === 0 ? "https://ld246.com" : "https://liuyun.io";
if (!key || "" === key) {
return origin;
}
return `${origin}/${key}`;
};