From fbd81b604315f569ce5714fdc9d3caa78daaa83a Mon Sep 17 00:00:00 2001 From: green Date: Wed, 26 Mar 2025 01:40:14 +0100 Subject: mime types for apng and svg check --- xs_mime.h | 1 + 1 file changed, 1 insertion(+) (limited to 'xs_mime.h') diff --git a/xs_mime.h b/xs_mime.h index 6f65382..5f70922 100644 --- a/xs_mime.h +++ b/xs_mime.h @@ -38,6 +38,7 @@ const char *xs_mime_types[] = { "ogv", "video/ogg", "opus", "audio/ogg", "png", "image/png", + "apng", "image/apng", "svg", "image/svg+xml", "svgz", "image/svg+xml", "txt", "text/plain", -- cgit From 8c2abef699a98652c290bafd844f8ae2c25eef7f Mon Sep 17 00:00:00 2001 From: green Date: Wed, 26 Mar 2025 01:44:20 +0100 Subject: the fucking list is sotted. oopps --- xs_mime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xs_mime.h') diff --git a/xs_mime.h b/xs_mime.h index 5f70922..0146385 100644 --- a/xs_mime.h +++ b/xs_mime.h @@ -16,6 +16,7 @@ extern const char *xs_mime_types[]; const char *xs_mime_types[] = { "3gp", "video/3gpp", "aac", "audio/aac", + "apng", "image/apng", "avif", "image/avif", "css", "text/css", "flac", "audio/flac", @@ -38,7 +39,6 @@ const char *xs_mime_types[] = { "ogv", "video/ogg", "opus", "audio/ogg", "png", "image/png", - "apng", "image/apng", "svg", "image/svg+xml", "svgz", "image/svg+xml", "txt", "text/plain", -- cgit