commit 1225632: [Minor] Fix copy-paste error
moisseev
moiseev at mezonplus.ru
Sun Oct 9 16:07:03 UTC 2022
Author: moisseev
Date: 2022-10-09 18:40:30 +0300
URL: https://github.com/rspamd/rspamd/commit/1225632c64ebd2d1b4cd4e8da04e996f285f26b0 (refs/pull/4305/head)
[Minor] Fix copy-paste error
PR: #4302
---
src/libserver/http/http_router.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libserver/http/http_router.c b/src/libserver/http/http_router.c
index ae8a0329f..5c4990ab6 100644
--- a/src/libserver/http/http_router.c
+++ b/src/libserver/http/http_router.c
@@ -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" },
};
More information about the Commits
mailing list