]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix copy-paste error 4305/head
authormoisseev <moiseev@mezonplus.ru>
Sun, 9 Oct 2022 15:40:30 +0000 (18:40 +0300)
committermoisseev <moiseev@mezonplus.ru>
Sun, 9 Oct 2022 15:42:43 +0000 (18:42 +0300)
PR: #4302

src/libserver/http/http_router.c

index ae8a0329f94aeafa7fcd65ebd1f4e3206fc73b9a..5c4990ab627bc43274062094c5a2789e8434c7d6 100644 (file)
@@ -41,7 +41,7 @@ static const struct _rspamd_http_magic {
                [HTTP_MAGIC_HTML] = { "html", "text/html" },
                [HTTP_MAGIC_CSS] = { "css", "text/css" },
                [HTTP_MAGIC_JS] = { "js", "application/javascript" },
-               [HTTP_MAGIC_PNG] = { "png", "image/x-icon" },
+               [HTTP_MAGIC_ICO] = { "ico", "image/x-icon" },
                [HTTP_MAGIC_PNG] = { "png", "image/png" },
                [HTTP_MAGIC_JPG] = { "jpg", "image/jpeg" },
 };