feat: new setting api model

This commit is contained in:
hamster1963
2024-12-30 11:37:08 +08:00
parent 1fcabdd45b
commit f5fd018422
3 changed files with 17 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ function Header() {
const onlineCount = connected ? (lastMessage ? JSON.parse(lastMessage.data).online || 0 : 0) : "..."
const siteName = settingData?.data?.site_name
const siteName = settingData?.data?.config?.site_name
// @ts-expect-error CustomLogo is a global variable
const customLogo = window.CustomLogo || "/apple-touch-icon.png"