iris apple-touch-icon

This commit is contained in:
Martti Malmi 2023-10-04 16:53:12 +03:00
parent 89982793ed
commit 38b647938e
5 changed files with 6 additions and 3 deletions

View File

@ -3,5 +3,6 @@
"appNameCapitalized": "Snort",
"appTitle": "Snort - Nostr",
"nip05Domain": "snort.social",
"favicon": "public/favicon.ico"
"favicon": "public/favicon.ico",
"appleTouchIconUrl": "/nostrich_512.png"
}

View File

@ -3,5 +3,6 @@
"appNameCapitalized": "Iris",
"appTitle": "iris",
"nip05Domain": "iris.to",
"favicon": "public/iris/favicon.ico"
"favicon": "public/iris/favicon.ico",
"appleTouchIconUrl": "/img/apple-touch-icon.png"
}

View File

@ -9,7 +9,7 @@
name="keywords"
content="nostr snort fast decentralized social media censorship resistant open source software" />
<link rel="preconnect" href="https://imgproxy.snort.social" />
<link rel="apple-touch-icon" href="/nostrich_512.png" />
<link rel="apple-touch-icon" href="<%= htmlWebpackPlugin.options.templateParameters.appleTouchIconUrl %>" />
<link rel="manifest" href="/manifest.json" />
<title><%= htmlWebpackPlugin.options.templateParameters.appTitle %></title>
</head>

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -64,6 +64,7 @@ const config = {
excludeChunks: ["pow", "bench"],
templateParameters: {
appTitle,
appleTouchIconUrl: appConfig.get("appleTouchIconUrl"),
},
}),
new HtmlWebpackPlugin({