From dbddbb4119ce63dc77649e313ac26207c4638344 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 5 Feb 2024 19:39:57 +0000 Subject: [PATCH] Extra mime type --- person.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/person.py b/person.py index 60f255225..e664bc598 100644 --- a/person.py +++ b/person.py @@ -154,6 +154,8 @@ def set_profile_image(base_dir: str, http_prefix: str, media_type = 'image/' + ext + '+xml' elif ext == 'jpg': media_type = 'image/jpeg' + elif ext == 'ico': + media_type = 'image/x-icon' icon_filename = icon_filename_base + '.' + ext profile_filename = acct_handle_dir(base_dir, handle) + '/' + icon_filename