Add env var to enable/disable thumbnail generation
This commit is contained in:
parent
7ed2ed116a
commit
2731ea9aa9
6 changed files with 117 additions and 103 deletions
|
@ -187,4 +187,5 @@ USER_AGENT = "%s (BookWyrm/%s; +https://%s/)" % (
|
|||
)
|
||||
|
||||
# Imagekit generated thumbnails
|
||||
ENABLE_THUMBNAIL_GENERATION = env.bool("ENABLE_THUMBNAIL_GENERATION", False)
|
||||
IMAGEKIT_CACHEFILE_DIR = "thumbnails"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue