Skip to content

Commit

Permalink
Merge commit from fork
Browse files Browse the repository at this point in the history
Clear client cookies after each response
  • Loading branch information
codingpaula authored Jan 6, 2025
2 parents c063791 + 343dc0d commit 1621a4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nicegui/air.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ async def _handle_http(data: Dict[str, Any]) -> Dict[str, Any]:
content=data['body'],
)
response = await self.client.send(request)
self.client.cookies.clear()
instance_id = data['instance-id']
content = response.content.replace(
b'const extraHeaders = {};',
Expand Down

0 comments on commit 1621a4b

Please sign in to comment.