CFE-7 change socket transport
This commit is contained in:
@@ -15,6 +15,7 @@ export const SocketProvider = ({children}) => {
|
||||
const t = useTranslations()
|
||||
const socket = useMemo(() => io(process.env.NEXT_PUBLIC_SERVER_SOCKET_URL, {
|
||||
autoConnect: false,
|
||||
transports: ['websocket'],
|
||||
auth: {
|
||||
token: ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user