Skip to content

Commit

Permalink
πŸ› Fix: Add "image/x-icon" type to favicon for SEO indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbakas authored Jul 6, 2024
2 parents 1a6dd06 + 45a4835 commit efcd1b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backend/logic/seo.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ export async function getMetadata() {
url: "/icon-dark.svg"
}],
shortcut: [{
type: "image/x-icon",
media: "(prefers-color-scheme: light)",
url: "/favicon.svg"
}, {
type: "image/x-icon",
media: "(prefers-color-scheme: dark)",
url: "/favicon-dark.svg"
}],
Expand Down

0 comments on commit efcd1b8

Please sign in to comment.