add more images format

This commit is contained in:
caiwx86 2023-06-22 22:17:52 +08:00
parent 4b7110b1ae
commit 40d484ee4c

View File

@ -105,7 +105,7 @@ AUTOTHROTTLE_DEBUG = False
HTTPCACHE_ENABLED = True
HTTPCACHE_EXPIRATION_SECS = 0
HTTPCACHE_DIR = 'httpcache'
HTTPCACHE_ALLOW_PREFIXS = [ 'jpg', 'png', 'gif']
HTTPCACHE_ALLOW_PREFIXS = [ 'jpg', 'png', 'gif', 'JPG', "PNG", "JPEG"]
HTTPCACHE_STORAGE = 'Comics.middlewares.MyFilesystemCacheStorage'
# Logging configuration