Browse Source

[Minor] Serve SVG with the correct CT

pull/4861/head
moisseev 2 months ago
parent
commit
1ef13a2419
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/libserver/http/http_router.c

+ 1
- 0
src/libserver/http/http_router.c View File

@@ -44,6 +44,7 @@ static const struct _rspamd_http_magic {
[HTTP_MAGIC_ICO] = {"ico", "image/x-icon"},
[HTTP_MAGIC_PNG] = {"png", "image/png"},
[HTTP_MAGIC_JPG] = {"jpg", "image/jpeg"},
[HTTP_MAGIC_JPG] = {"svg", "image/svg+xml"},
};

/*

Loading…
Cancel
Save