aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-05-06 15:42:19 -0400
committerXe Iaso <me@xeiaso.net>2024-05-09 12:52:06 -0400
commitc1b2f4cb1aeda79660dae93779d5986b0044eac8 (patch)
tree5e2cb299faed8474287d80ffff4d9be536b3227e /cmd
parentd222b649385de9d0a479946795bb8f5116e2d7a3 (diff)
downloadx-c1b2f4cb1aeda79660dae93779d5986b0044eac8.tar.xz
x-c1b2f4cb1aeda79660dae93779d5986b0044eac8.zip
cmd/uploud: add SVG mime types
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/uploud/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/uploud/main.go b/cmd/uploud/main.go
index ddbc36a..91752c7 100644
--- a/cmd/uploud/main.go
+++ b/cmd/uploud/main.go
@@ -256,6 +256,7 @@ var mimeTypes = map[string]string{
".webp": "image/webp",
".jpg": "image/jpeg",
".png": "image/png",
+ ".svg": "image/svg+xml",
".wasm": "application/wasm",
".css": "text/css",
}