fix: enable auto reconnect

pull/1049/head
Paul Makles 2022-01-06 17:06:04 +00:00
parent 3fbdd87733
commit 33d9ca9aee
1 changed files with 1 additions and 1 deletions

View File

@ -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",