We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2435d1 commit 4757f73Copy full SHA for 4757f73
frontend/src/utils.tsx
@@ -147,7 +147,9 @@ if (debug) {
147
}
148
149
window.addEventListener("appReload", () => {
150
- if (appSleeps) {
+ // Sometime the appSleeps value seems not beeing set. To encounter this check if the lastAlive was
151
+ // set during the timout of the wireguard connection
152
+ if (appSleeps || Date.now() - lastAlive >= 1000 * 60 * 2) {
153
window.location.reload();
154
155
});
0 commit comments