fixy z cookie

This commit is contained in:
Mateusz Gruszczyński
2025-07-30 10:32:43 +02:00
parent de0f825988
commit 0b277fef7b

View File

@@ -4,6 +4,10 @@ basedir = os.path.abspath(os.path.dirname(__file__))
class Config:
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_SAMESITE = "Lax" # działa w HTTP i HTTPS
SECRET_KEY = os.environ.get("SECRET_KEY", "D8pceNZ8q%YR7^7F&9wAC2")
DB_ENGINE = os.environ.get("DB_ENGINE", "sqlite").lower()