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