added PDF to whitelist
This commit is contained in:
parent
1f57b690dd
commit
80fb082ac2
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ ALLOWED_CONTENT_TYPES: dict[str, str] = {
|
|||
"image/png": "png",
|
||||
"image/webp": "webp",
|
||||
"image/gif": "gif",
|
||||
"application/pdf": "pdf",
|
||||
}
|
||||
|
||||
MAX_FILE_SIZE = int(os.environ.get("JIRORIAN_MAX_FILE_SIZE", str(10 * 1024 * 1024)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue