This repository has been archived on 2021-01-14. You can view files and clone it, but cannot push or open issues or pull requests.
2020-09-04 10:47:20 -05:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
"""
|
|
|
|
settings.py
|
|
|
|
|
|
|
|
User-defined settings used by imgupload.py.
|
|
|
|
"""
|
|
|
|
|
2020-08-31 18:48:22 -05:00
|
|
|
UPLOAD_FOLDER = "/path/to/images"
|
2020-08-31 17:29:54 -05:00
|
|
|
ALLOWED_EXTENSIONS = [".png", ".jpg", ".jpeg", ".svg", ".bmp", ".gif", ".ico", ".webp"]
|
2020-08-31 18:48:22 -05:00
|
|
|
ROOTURL = "https://example.com/"
|
2020-08-31 17:29:54 -05:00
|
|
|
SAVELOG = "savelog.log"
|
|
|
|
SAVELOG_CHMOD = 0o644
|
|
|
|
SAVELOG_KEYPREFIX = 4
|