From eaae47a74dc3d1dbaeb7f0c0ce9ff8df76f2fced Mon Sep 17 00:00:00 2001 From: unwox Date: Wed, 23 Oct 2024 12:32:49 +0600 Subject: improve mime type of svg preload tag --- bin/serve.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/serve.fnl b/bin/serve.fnl index a324aa0..0c5ca6d 100644 --- a/bin/serve.fnl +++ b/bin/serve.fnl @@ -364,7 +364,7 @@ [:style {} [:NO-ESCAPE (fs.read-file "static/style.css")]] [:link {:rel "icon" :href "/static/favicon.png"}] [:link {:rel "preload" :fetchpriority "high" :as "image" - :href "/static/logo-hor.svg" :type "image/svg"}] + :href "/static/logo-hor.svg" :type "image/svg+xml"}] [:title {} (if (str.empty? form.query) texts.meta-title (.. form.query " | " texts.meta-title))] -- cgit v1.2.3