Skip to content
This repository has been archived by the owner on Dec 15, 2024. It is now read-only.

Commit

Permalink
chore: set cookie to root path
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Nov 23, 2024
1 parent 3aa1e41 commit d6c9f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def generate_unique_operation_id(route: APIRoute) -> str:
secret_key=settings.session_secret_key.get_secret_value(),
session_cookie=session_cookie,
max_age=14 * 24 * 60 * 60, # 14 days, in seconds
path=settings.app_root_path or "/",
path="/",
same_site="lax",
https_only=True if settings.environment == Environment.PRODUCTION else False,
domain=None,
Expand Down

0 comments on commit d6c9f36

Please sign in to comment.