summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-06-08 23:27:50 +0200
committersijanec <sijanecantonluka@gmail.com>2020-06-08 23:27:50 +0200
commit31ca33571c90a50d3b1a0d91ece764d2054d05bc (patch)
treec9206d5f9934472027a7ae158d6c5891390f35f4
parentadded some protection, proby can merge now (diff)
downloadbeziapp-31ca33571c90a50d3b1a0d91ece764d2054d05bc.tar
beziapp-31ca33571c90a50d3b1a0d91ece764d2054d05bc.tar.gz
beziapp-31ca33571c90a50d3b1a0d91ece764d2054d05bc.tar.bz2
beziapp-31ca33571c90a50d3b1a0d91ece764d2054d05bc.tar.lz
beziapp-31ca33571c90a50d3b1a0d91ece764d2054d05bc.tar.xz
beziapp-31ca33571c90a50d3b1a0d91ece764d2054d05bc.tar.zst
beziapp-31ca33571c90a50d3b1a0d91ece764d2054d05bc.zip
-rw-r--r--assets/js/app.js.bvr2
-rw-r--r--dist/cache_name.txt2
-rwxr-xr-xdist/js/app.js4
-rwxr-xr-xdist/pages/about.html2
-rwxr-xr-xdist/sw.js4
5 files changed, 7 insertions, 7 deletions
diff --git a/assets/js/app.js.bvr b/assets/js/app.js.bvr
index 0bc7bcb..c252c40 100644
--- a/assets/js/app.js.bvr
+++ b/assets/js/app.js.bvr
@@ -55,7 +55,7 @@ function gsecErrorHandlerUI(err) {
var update_app_function = async function () {
try {
- $.get("/cache_name.txt", (data, status) => {
+ $.get("/cache_name.txt?cache_kill="+Date.now(), (data, status) => {
var cache_name = data.split("///")[1].split("|||")[0];
var data_to_send = {
action: "checkversion",
diff --git a/dist/cache_name.txt b/dist/cache_name.txt
index ae024b0..93c9aef 100644
--- a/dist/cache_name.txt
+++ b/dist/cache_name.txt
@@ -2,4 +2,4 @@
-///site-static-1.0.14.3-beta-0d4d639|||
+///site-static-1.0.14.3-beta-5f22473|||
diff --git a/dist/js/app.js b/dist/js/app.js
index e0d40ad..e2758ff 100755
--- a/dist/js/app.js
+++ b/dist/js/app.js
@@ -3,7 +3,7 @@
const app_version = "1.0.14.3-beta";
-const previous_commit = "0d4d63927cb2b608c65641859bfe43ba6b17b204";
+const previous_commit = "5f22473be3faa9cd2a50444f8bea4af46725c030";
const BEZIAPP_UPDATE_INTERVAL = 300; // update vsakih 300 sekund
if ("serviceWorker" in navigator) {
@@ -58,7 +58,7 @@ function gsecErrorHandlerUI(err) {
var update_app_function = async function () {
try {
- $.get("/cache_name.txt", (data, status) => {
+ $.get("/cache_name.txt?cache_kill="+Date.now(), (data, status) => {
var cache_name = data.split("///")[1].split("|||")[0];
var data_to_send = {
action: "checkversion",
diff --git a/dist/pages/about.html b/dist/pages/about.html
index bea99c7..5af316e 100755
--- a/dist/pages/about.html
+++ b/dist/pages/about.html
@@ -161,7 +161,7 @@
<div class="row">
<p>
<small>
- ^HEAD 0d4d63927cb2b608c65641859bfe43ba6b17b204
+ ^HEAD 5f22473be3faa9cd2a50444f8bea4af46725c030
</small>
</p>
</div>
diff --git a/dist/sw.js b/dist/sw.js
index 5578deb..61095c4 100755
--- a/dist/sw.js
+++ b/dist/sw.js
@@ -3,8 +3,8 @@
// Change version to cause cache refresh
-const static_cache_name = "site-static-1.0.14.3-beta-0d4d639";
-// commit before the latest is 0d4d63927cb2b608c65641859bfe43ba6b17b204
+const static_cache_name = "site-static-1.0.14.3-beta-5f22473";
+// commit before the latest is 5f22473be3faa9cd2a50444f8bea4af46725c030
// Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js
// sw.js NE SME BITI CACHAN, ker vsebuje verzijo!