fix(web): websocket over ipv6 ()

This commit is contained in:
Michel Heusschen 2024-08-01 13:36:31 +02:00 committed by GitHub
commit 1f0f880ecb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 30 additions and 5 deletions
web/src/lib/stores

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,