Fix favicon extension

This commit is contained in:
Hubert Van De Walle 2020-10-20 16:10:13 +02:00
parent 2c3106c5c1
commit ceb310bf02

View File

@ -45,7 +45,7 @@ abstract class View(staticFileResolver: StaticFileResolver) {
@Suppress("NOTHING_TO_INLINE")
private inline fun HEAD.icons() {
link(rel = "apple-touch-icon", href = "/apple-touch-icon.ico") { attributes["sizes"] = "180x180" }
link(rel = "apple-touch-icon", href = "/apple-touch-icon.png") { attributes["sizes"] = "180x180" }
link(rel = "icon", href = "/favicon-32x32.png", type = "image/png") { attributes["sizes"] = "32x32" }
link(rel = "icon", href = "/favicon-16x16.png", type = "image/png") { attributes["sizes"] = "16x16" }
link(rel = "manifest", href = "/site.webmanifest")