Fix cross-browser favicons
This commit is contained in:
+21
-1
@@ -60,7 +60,27 @@ export const metadata: Metadata = {
|
||||
},
|
||||
metadataBase: new URL("https://communityrule.com"),
|
||||
icons: {
|
||||
icon: [{ url: getAssetPath(ASSETS.LOGO), type: "image/svg+xml" }],
|
||||
icon: [
|
||||
{ url: getAssetPath(ASSETS.LOGO), type: "image/svg+xml" },
|
||||
{ url: "/favicon.ico", sizes: "any" },
|
||||
{
|
||||
url: "/favicon-32x32.png",
|
||||
sizes: "32x32",
|
||||
type: "image/png",
|
||||
},
|
||||
{
|
||||
url: "/favicon-16x16.png",
|
||||
sizes: "16x16",
|
||||
type: "image/png",
|
||||
},
|
||||
],
|
||||
apple: [
|
||||
{
|
||||
url: "/apple-touch-icon.png",
|
||||
sizes: "180x180",
|
||||
type: "image/png",
|
||||
},
|
||||
],
|
||||
},
|
||||
alternates: {
|
||||
canonical: "/",
|
||||
|
||||
Reference in New Issue
Block a user