BBaoVanC
565a91e4ec
It doesn't really make sense to encrypt the keys, but store the secret literally in the same directory. uploadkeys will now be stored in plaintext. The branch `legacy` has the old code from before this commit.
7 lines
224 B
Plaintext
7 lines
224 B
Plaintext
UPLOAD_FOLDER = "/path/to/images"
|
|
ALLOWED_EXTENSIONS = [".png", ".jpg", ".jpeg", ".svg", ".bmp", ".gif", ".ico", ".webp"]
|
|
ROOTURL = "https://example.com/"
|
|
SAVELOG = "savelog.log"
|
|
SAVELOG_CHMOD = 0o644
|
|
SAVELOG_KEYPREFIX = 4
|