Compare commits

...

2 commits

Author SHA1 Message Date
Frank Villaro-Dixon 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
Frank Villaro-Dixon 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: branches:
- "cicd" - "cicd"
- main - main
- '*'
jobs: jobs:
docker: docker:
@ -27,4 +28,4 @@ jobs:
with: with:
context: . context: .
push: true 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}") print(f"Connection closed: {e}")
finally: finally:
# Unregister the client # Unregister the client
connected_clients.remove(websocket) connected_clients.get(websocket.request.path, set()).remove(websocket)
async def main(): async def main():
# Start the WebSocket server # Start the WebSocket server