mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-03-28 01:35:06 +00:00
Merge pull request #2500 from nekrondev/master
fix(webapp): downstream keep-alive events to backend preventing timeout
This commit is contained in:
commit
620d97bd06
@ -152,6 +152,8 @@ function initWS() {
|
||||
var dataJSON = JSON.parse(event.data);
|
||||
if (dataJSON.tag !== "keep-alive") {
|
||||
elmApp.ports.receiveWsMessage.send(dataJSON);
|
||||
} else {
|
||||
dsWebSocket.send(event.data);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user