mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
fix: enable auto reconnect
This commit is contained in:
@@ -43,7 +43,7 @@ export default class ServerConfig
|
|||||||
createClient() {
|
createClient() {
|
||||||
const client = new Client({
|
const client = new Client({
|
||||||
unreads: true,
|
unreads: true,
|
||||||
autoReconnect: false,
|
autoReconnect: true,
|
||||||
apiURL: import.meta.env.VITE_API_URL,
|
apiURL: import.meta.env.VITE_API_URL,
|
||||||
debug: isDebug(),
|
debug: isDebug(),
|
||||||
onPongTimeout: "RECONNECT",
|
onPongTimeout: "RECONNECT",
|
||||||
|
|||||||
Reference in New Issue
Block a user