forked from MarseyWorld/MarseyWorld
fdssdf
parent
527d5e8a01
commit
443955f39d
|
@ -33,8 +33,7 @@ app.config['DATABASE_URL'] = environ.get("DATABASE_URL")
|
|||
app.config['SECRET_KEY'] = environ.get('MASTER_KEY')
|
||||
app.config["SERVER_NAME"] = environ.get("DOMAIN").strip()
|
||||
app.config['SEND_FILE_MAX_AGE_DEFAULT'] = 86400
|
||||
if app.config["SITE_NAME"] == 'Drama': app.config["SESSION_COOKIE_NAME"] = "session_" + environ.get("DOMAIN")
|
||||
else: app.config["SESSION_COOKIE_NAME"] = "session_" + app.config["SITE_NAME"]
|
||||
app.config["SESSION_COOKIE_NAME"] = f'session_{environ.get("DOMAIN")}'.strip().lower()
|
||||
app.config["VERSION"] = "1.0.0"
|
||||
app.config['MAX_CONTENT_LENGTH'] = 8 * 1024 * 1024
|
||||
app.config["SESSION_COOKIE_SECURE"] = bool(int(environ.get("FORCE_HTTPS", 1)))
|
||||
|
|
Loading…
Reference in New Issue