summaryrefslogtreecommitdiffstats
path: root/dist/js/app.js
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2021-03-25 20:22:29 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2021-03-25 20:22:29 +0100
commitc9a6ddd6e1c0c7434a95d670fddf3f5b7da4c885 (patch)
tree93ee0c21226fa260e51b0ec451e3f62d1b4672b8 /dist/js/app.js
parentMerge pull request 'dev' (#1) from dev into master (diff)
parentMerge branch 'master' into dev (diff)
downloadbeziapp-c9a6ddd6e1c0c7434a95d670fddf3f5b7da4c885.tar
beziapp-c9a6ddd6e1c0c7434a95d670fddf3f5b7da4c885.tar.gz
beziapp-c9a6ddd6e1c0c7434a95d670fddf3f5b7da4c885.tar.bz2
beziapp-c9a6ddd6e1c0c7434a95d670fddf3f5b7da4c885.tar.lz
beziapp-c9a6ddd6e1c0c7434a95d670fddf3f5b7da4c885.tar.xz
beziapp-c9a6ddd6e1c0c7434a95d670fddf3f5b7da4c885.tar.zst
beziapp-c9a6ddd6e1c0c7434a95d670fddf3f5b7da4c885.zip
Diffstat (limited to 'dist/js/app.js')
-rwxr-xr-xdist/js/app.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/dist/js/app.js b/dist/js/app.js
index 816250f..623213f 100755
--- a/dist/js/app.js
+++ b/dist/js/app.js
@@ -4,10 +4,14 @@
// @begin=js@
-const app_version = "1.0.16.3-beta";
-const previous_commit = "5376b618e88d85b3fc16561176478c104af1a01b";
+const app_version = "1.0.16.4-beta";
+const previous_commit = "80550d8cad189982bf607549b6b5d3977602b91b";
const BEZIAPP_UPDATE_INTERVAL = 300; // update vsakih 300 sekund
+if (location.protocol !== 'https:') {
+ location.replace(`https:${location.href.substring(location.protocol.length)}`);
+}
+
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("/sw.js")
.then(() => { })