mirror of
https://github.com/imgfloat/server.git
synced 2026-11-05 06:44:08 +00:00
Improve dev build
This commit is contained in:
1 parent
0bca3283fa
commit
2de88e272c
2 files changed
+6
-1
No files matched your search
@@ -210,7 +210,7 @@ function connect() {
|
||||
}, (error) => {
|
||||
console.warn('WebSocket connection issue', error);
|
||||
if (typeof showToast === 'function') {
|
||||
showToast('Live updates connection interrupted. Retrying may be necessary.', 'warning');
|
||||
setTimeout(() => showToast('Live updates connection interrupted. Retrying may be necessary.', 'warning'), 1000);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user