git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0ec5503
)
thumb: jpeg content type for cached images
v4.0
author
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 12 Jul 2019 02:57:33 +0000
(
04:57
+0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 12 Jul 2019 02:57:33 +0000
(
04:57
+0200)
Generated files should be image/jpeg regardless of extension.
thumb/.htaccess
patch
|
blob
|
history
diff --git
a/thumb/.htaccess
b/thumb/.htaccess
index d54d56a0bc19bd00044bb48ae19a17928d931f1d..3c637c13d0bef21a66f3ba9e4c37a7c62e3d1125 100644
(file)
--- a/
thumb/.htaccess
+++ b/
thumb/.htaccess
@@
-1,3
+1,4
@@
<IfModule mod_headers.c>
Header set Cache-Control "max-age=2628000"
</IfModule>
<IfModule mod_headers.c>
Header set Cache-Control "max-age=2628000"
</IfModule>
+ForceType 'image/jpeg'