Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
92d6e2363b | |||
33af9c8e9b |
2 changed files with 3 additions and 2 deletions
|
@ -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 }}"
|
||||||
|
|
2
proxy.py
2
proxy.py
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue