mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-02-04 09:14:30 +00:00
Split up some code for sanity #3
This commit is contained in:
@@ -48,6 +48,7 @@ function restartSSEConnection() {
|
||||
};
|
||||
|
||||
evtSource.onerror = function(err) {
|
||||
evtSource.close();
|
||||
setTimeout(restartSSEConnection(), 1000);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user