summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index 32e611a..1b39ecb 100644
--- a/index.php
+++ b/index.php
@@ -164,6 +164,8 @@
}
if (event.data == 'client-reload') {
+ const ts = parseInt(new Date().getTime()/1000);
+ localforage.setItem("epube.cache-timestamp", ts);
window.location.reload()
}