image size for patrons
This commit is contained in:
parent
1a13a0d833
commit
ab527edf8e
4 changed files with 19 additions and 7 deletions
|
@ -34,7 +34,7 @@ app.config["SERVER_NAME"] = environ.get("DOMAIN").strip()
|
|||
app.config['SEND_FILE_MAX_AGE_DEFAULT'] = 86400
|
||||
app.config["SESSION_COOKIE_NAME"] = "session_" + environ.get("SITE_NAME").strip().lower()
|
||||
app.config["VERSION"] = "1.0.0"
|
||||
app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * 1024
|
||||
app.config['MAX_CONTENT_LENGTH'] = 8 * 1024 * 1024
|
||||
app.config["SESSION_COOKIE_SECURE"] = bool(int(environ.get("FORCE_HTTPS", 1)))
|
||||
app.config["SESSION_COOKIE_SAMESITE"] = "Lax"
|
||||
app.config["PERMANENT_SESSION_LIFETIME"] = 60 * 60 * 24 * 365
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue