fix(web): websocket over ipv6 (#11508)

This commit is contained in:
Michel Heusschen
2024-08-01 13:36:31 +02:00
committed by GitHub
parent 2c05ceaf50
commit 1f0f880ecb
3 changed files with 30 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ export interface Events {
on_new_release: (newRelase: ReleaseEvent) => void;
}
const websocket: Socket<Events> = io('', {
const websocket: Socket<Events> = io({
path: '/api/socket.io',
transports: ['websocket'],
reconnection: true,