Added cookie consent

This commit is contained in:
2022-06-16 13:22:06 +01:00
parent e4e07c43b4
commit 5c8435d39e
5 changed files with 18 additions and 8 deletions

View File

@@ -9,6 +9,7 @@ class Config(object):
DEBUG = False
TESTING = False
SECRET_KEY = os.getenv('SECRET_KEY')
SERVER_NAME = os.getenv('SERVER_NAME')
SESSION_COOKIE_SECURE = True
SQLALCHEMY_DATABASE_URI = f'sqlite:///{Path(DATA)}/database.db'
SQLALCHEMY_TRACK_MODIFICATIONS = False