We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dede33a commit 354df7bCopy full SHA for 354df7b
web/src/Setting.js
@@ -2050,9 +2050,11 @@ export function getAlgorithm(themeAlgorithmNames) {
2050
}
2051
2052
export function getLogo(themes) {
2053
+ let defaultLogoUrl = Conf.LogoUrl;
2054
+ defaultLogoUrl = defaultLogoUrl.replace("https://cdn.casibase.org", Conf.StaticBaseUrl);
2055
if (themes.includes("dark")) {
- return Conf.LogoUrl.replace(/\.png$/, "_white.png");
2056
+ return defaultLogoUrl.replace(/\.png$/, "_white.png");
2057
} else {
- return Conf.LogoUrl;
2058
+ return defaultLogoUrl;
2059
2060
0 commit comments