mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
Fixed issue socket-io cannot be connected in production build on web
This commit is contained in:
parent
799a1c99f2
commit
4aa66f4156
3 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ import { assets } from './assets';
|
|||
|
||||
export const openWebsocketConnection = (accessToken: string) => {
|
||||
const websocket = io(serverEndpoint, {
|
||||
transports: ['polling'],
|
||||
transports: ['websocket', 'polling'],
|
||||
reconnection: true,
|
||||
forceNew: true,
|
||||
autoConnect: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue