Compare commits

...

2 commits

Author SHA1 Message Date
92d6e2363b aouua
All checks were successful
ci / docker (push) Successful in 1m11s
Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
2024-09-02 12:09:16 +02:00
33af9c8e9b fix cleanup
Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
2024-09-02 12:07:33 +02:00
2 changed files with 3 additions and 2 deletions

View file

@ -5,6 +5,7 @@ on:
branches:
- "cicd"
- main
- '*'
jobs:
docker:
@ -27,4 +28,4 @@ jobs:
with:
context: .
push: true
tags: forge.k3s.fr/frank/kube-escape:latest
tags: "forge.k3s.fr/frank/kube-escape:${{ github.ref_name }}"

View file

@ -29,7 +29,7 @@ async def handler(websocket):
print(f"Connection closed: {e}")
finally:
# Unregister the client
connected_clients.remove(websocket)
connected_clients.get(websocket.request.path, set()).remove(websocket)
async def main():
# Start the WebSocket server