Skip to content

Commit

Permalink
Merge pull request #315 from MoonlightWave-12/patch-1
Browse files Browse the repository at this point in the history
Allow rendering previews for larger image-files (up to 20MB) by default
  • Loading branch information
ThomasWaldmann authored Nov 27, 2023
2 parents c087f9d + 0434d65 commit 36d882d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bepasty/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Config:
'application/pdf': 10 * 1000 * 1000,
'application/x-pdf': 10 * 1000 * 1000,
# images / audio / video can be rather big, we do not process them:
'image/': 10 * 1000 * 1000,
'image/': 20 * 1000 * 1000,
'audio/': 1 * 1000 * 1000 * 1000,
'video/': 5 * 1000 * 1000 * 1000,
# DEFAULT - matches everything not matched otherwise.
Expand Down

0 comments on commit 36d882d

Please sign in to comment.