summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2024-10-23 12:32:49 +0600
committerunwox <me@unwox.com>2024-10-23 12:32:49 +0600
commiteaae47a74dc3d1dbaeb7f0c0ce9ff8df76f2fced (patch)
tree3ffb04222beba80083288581322189eb9f63b20e /bin
parent25df50905639947141cb5be3065c3c0a16d12d1d (diff)
improve mime type of svg preload tag
Diffstat (limited to 'bin')
-rw-r--r--bin/serve.fnl2
1 files changed, 1 insertions, 1 deletions
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))]