mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-25 16:40:58 -05:00
fix: enable auto reconnect
This commit is contained in:
parent
cf55921077
commit
81af91fa1f
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue