diff --git a/app/main.py b/app/main.py index fd93df9..577c491 100644 --- a/app/main.py +++ b/app/main.py @@ -41,7 +41,7 @@ app.add_middleware( session_cookie=os.getenv("SESSION_COOKIE_NAME", "session"), same_site=os.getenv("SESSION_SAME_SITE", "lax"), https_only=os.getenv("SESSION_HTTPS_ONLY", "0") == "1", - max_age=int(os.getenv("SESSION_MAX_AGE", str(60 * 60 * 24 * 14))), # 14d + max_age=int(os.getenv("SESSION_MAX_AGE", "28800")), # 8h — dbx-main 과 통일 ) # Include routers