Skip to content

Commit 1bf67f3

Browse files
committed
fix: update logo
1 parent 1a7baba commit 1bf67f3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

web/public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
66
<meta name="theme-color" content="#000000" />
77
<meta name="description" content="CasOS - Kubernetes Management Platform" />
8-
<link rel="icon" href="https://cdn.openagentai.org/img/openagent.png" />
9-
<link rel="apple-touch-icon" href="https://cdn.openagentai.org/img/openagent.png" />
8+
<link rel="icon" href="https://cdn.casvisor.com/casdoor/resource/built-in/admin/casos-logo.png" />
9+
<link rel="apple-touch-icon" href="https://cdn.casvisor.com/casdoor/resource/built-in/admin/casos-logo.png" />
1010
<title>CasOS</title>
1111
</head>
1212
<body>

web/src/Setting.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export function getAlgorithm(themeAlgorithmNames) {
128128
}
129129

130130
export function getLogo(themes, storeLogoUrl) {
131-
const defaultLogoUrl = "https://cdn.openagentai.org/img/openagent-logo_1900x450.png";
131+
const defaultLogoUrl = "https://cdn.casvisor.com/casdoor/resource/built-in/admin/casos-logo_2000x500.png";
132132
const logoUrl = storeLogoUrl || defaultLogoUrl;
133133
if (Array.isArray(themes) && themes.includes("dark")) {
134134
return logoUrl.replace(/\.png$/, "_white.png");
@@ -147,7 +147,7 @@ export function getFooterHtml(themes, storeFooterHtml, site) {
147147
}
148148

149149
export function getFaviconUrl(themes, storeFaviconUrl) {
150-
const defaultFaviconUrl = "https://cdn.openagentai.org/img/openagent.png";
150+
const defaultFaviconUrl = "https://cdn.casvisor.com/casdoor/resource/built-in/admin/casos-logo.png";
151151
const faviconUrl = storeFaviconUrl || defaultFaviconUrl;
152152
if (Array.isArray(themes) && themes.includes("dark")) {
153153
return faviconUrl.replace(/\.png$/, "_white.png");

0 commit comments

Comments
 (0)