diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-05-06 15:42:19 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-05-09 12:52:06 -0400 |
| commit | c1b2f4cb1aeda79660dae93779d5986b0044eac8 (patch) | |
| tree | 5e2cb299faed8474287d80ffff4d9be536b3227e /cmd | |
| parent | d222b649385de9d0a479946795bb8f5116e2d7a3 (diff) | |
| download | x-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.go | 1 |
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", } |
