修改:默认 logo 路径改为 /logo.jpg
This commit is contained in:
parent
af2abaee09
commit
dc1ba114e5
|
|
@ -7,7 +7,7 @@
|
|||
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Source+Serif+4:ital,wght@0,400;0,600;0,700;1,400&family=Noto+Serif+SC:wght@400;600;700;900&family=JetBrains+Mono:wght@400;500;700&family=Bebas+Neue&display=swap" rel="stylesheet" />
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="/logo.png" />
|
||||
<link rel="icon" href="/logo.jpg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#ffffff" />
|
||||
<meta name="description" content="Unified AI model gateway supporting OpenAI, Claude, Gemini and more." />
|
||||
|
|
|
|||
|
|
@ -270,7 +270,7 @@ const OtherSetting = () => {
|
|||
iconLink.rel = 'icon';
|
||||
document.head.appendChild(iconLink);
|
||||
}
|
||||
iconLink.href = inputs.Logo || '/logo.png';
|
||||
iconLink.href = inputs.Logo || '/logo.jpg';
|
||||
showSuccess('Logo 已更新');
|
||||
} catch (error) {
|
||||
console.error('Logo 更新失败', error);
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ export function getSystemName() {
|
|||
|
||||
export function getLogo() {
|
||||
let logo = localStorage.getItem('logo');
|
||||
if (!logo) return '/logo.png';
|
||||
if (!logo) return '/logo.jpg';
|
||||
return logo;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue