This commit is contained in:
Vanessa 2024-01-14 16:38:45 +08:00
parent b399b5e877
commit eb18429d6e
9 changed files with 20 additions and 21 deletions

View file

@ -37,6 +37,6 @@ export const getCloudURL = (key: string) => {
};
export const getIndexURL = (key: string) => {
const lang = 'zh_CN' === window.siyuan.config.lang ? "" : "/en";
return 'https://b3log.org/siyuan' + `${lang}/${key}`;
}
const lang = "zh_CN" === window.siyuan.config.lang ? "" : "/en";
return "https://b3log.org/siyuan" + `${lang}/${key}`;
};