diff --git a/server/frontend/frontend.go b/server/frontend/frontend.go index 35b25f81..d1b01a04 100644 --- a/server/frontend/frontend.go +++ b/server/frontend/frontend.go @@ -157,7 +157,7 @@ func getDefaultMetadata() *Metadata { return &Metadata{ Title: "Memos", Description: "A privacy-first, lightweight note-taking service. Easily capture and share your great thoughts.", - ImageURL: "https://www.usememos.com/logo.png", + ImageURL: "/logo.webp", } } diff --git a/web/index.html b/web/index.html index b2d4194b..d7cb3c41 100644 --- a/web/index.html +++ b/web/index.html @@ -2,7 +2,7 @@
- + diff --git a/web/public/logo.png b/web/public/logo.png deleted file mode 100644 index 217b0c14..00000000 Binary files a/web/public/logo.png and /dev/null differ diff --git a/web/public/logo.webp b/web/public/logo.webp new file mode 100644 index 00000000..522a5d9e Binary files /dev/null and b/web/public/logo.webp differ diff --git a/web/src/App.tsx b/web/src/App.tsx index 59259c7a..baaf11fe 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -78,7 +78,7 @@ const App = () => { useEffect(() => { document.title = systemStatus.customizedProfile.name; const link = document.querySelector("link[rel~='icon']") as HTMLLinkElement; - link.href = systemStatus.customizedProfile.logoUrl || "/logo.png"; + link.href = systemStatus.customizedProfile.logoUrl || "/logo.webp"; }, [systemStatus.customizedProfile]); useEffect(() => { diff --git a/web/src/components/UpdateCustomizedProfileDialog.tsx b/web/src/components/UpdateCustomizedProfileDialog.tsx index 3bd557f1..3c28756c 100644 --- a/web/src/components/UpdateCustomizedProfileDialog.tsx +++ b/web/src/components/UpdateCustomizedProfileDialog.tsx @@ -63,7 +63,7 @@ const UpdateCustomizedProfileDialog: React.FC