summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRaphael Lullis2022-11-21 00:03:21 +0100
committerGitHub2022-11-20 16:03:21 -0700
commita351c6b1175937f53fb208fbeaa1d39bf8a2fb72 (patch)
tree47ef5aea106a40c72b07413317f162f667dcd00b /core
parent61ce62b02627414e5d4c65d32146ba8dc89421c4 (diff)
downloadtakahe-a351c6b1175937f53fb208fbeaa1d39bf8a2fb72.tar.gz
takahe-a351c6b1175937f53fb208fbeaa1d39bf8a2fb72.tar.bz2
takahe-a351c6b1175937f53fb208fbeaa1d39bf8a2fb72.zip
Fix mimetype for JPEG file extensions (#25)
Diffstat (limited to 'core')
-rw-r--r--core/ld.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ld.py b/core/ld.py
index 59b867c..fff0526 100644
--- a/core/ld.py
+++ b/core/ld.py
@@ -444,7 +444,7 @@ def media_type_from_filename(filename):
if extension == ".png":
return "image/png"
elif extension in [".jpg", ".jpeg"]:
- return "image/png"
+ return "image/jpeg"
elif extension == ".gif":
return "image/gif"
elif extension == ".apng":