Skip to content

Commit

Permalink
try to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
manatlan committed Oct 13, 2024
1 parent ebdd27e commit 03e7eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htagweb/runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:
uid = str(uuid.uuid4())

security_flags = "httponly; samesite=none"
if connection.url.scheme == "https": # Secure flag can be used with HTTPS only
if connection.url.scheme in ["https","wss"]: # Secure flag can be used with HTTPS only
security_flags += "; secure"

#!!!!!!!!!!!!!!!!!!!!!!!!!!!
Expand Down

0 comments on commit 03e7eae

Please sign in to comment.