diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-06-08 23:27:50 +0200 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-06-08 23:27:50 +0200 |
commit | 31ca33571c90a50d3b1a0d91ece764d2054d05bc (patch) | |
tree | c9206d5f9934472027a7ae158d6c5891390f35f4 | |
parent | added some protection, proby can merge now (diff) | |
download | beziapp-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 |
Diffstat (limited to '')
-rw-r--r-- | assets/js/app.js.bvr | 2 | ||||
-rw-r--r-- | dist/cache_name.txt | 2 | ||||
-rwxr-xr-x | dist/js/app.js | 4 | ||||
-rwxr-xr-x | dist/pages/about.html | 2 | ||||
-rwxr-xr-x | dist/sw.js | 4 |
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> @@ -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! |