diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-05-20 22:44:41 +0200 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-05-20 22:44:41 +0200 |
commit | 1652387e87215d6d4d6b677d982865eb27b44ba3 (patch) | |
tree | 5e4edfb6c8ef95cfe42b891deee4f40e06934403 /dist | |
parent | forgot about assetlinks.json! (diff) | |
download | beziapp-1652387e87215d6d4d6b677d982865eb27b44ba3.tar beziapp-1652387e87215d6d4d6b677d982865eb27b44ba3.tar.gz beziapp-1652387e87215d6d4d6b677d982865eb27b44ba3.tar.bz2 beziapp-1652387e87215d6d4d6b677d982865eb27b44ba3.tar.lz beziapp-1652387e87215d6d4d6b677d982865eb27b44ba3.tar.xz beziapp-1652387e87215d6d4d6b677d982865eb27b44ba3.tar.zst beziapp-1652387e87215d6d4d6b677d982865eb27b44ba3.zip |
Diffstat (limited to 'dist')
-rwxr-xr-x | dist/js/app.js | 8 | ||||
-rwxr-xr-x | dist/pages/about.html | 2 | ||||
-rwxr-xr-x | dist/sw.js | 4 |
3 files changed, 9 insertions, 5 deletions
diff --git a/dist/js/app.js b/dist/js/app.js index 594c9a1..798c4c2 100755 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -3,7 +3,7 @@ const app_version = "1.0.14-beta"; -const previous_commit = "a6a552efe42f84f439c82e21ba5dcc0f66e43a82"; +const previous_commit = "dfd78d5fa91f1c3844a3c9b828ba699775a0c0d4"; if ("serviceWorker" in navigator) { navigator.serviceWorker.register("/sw.js") @@ -65,7 +65,11 @@ var error_report_function = async function (msg, url, lineNo, columnNo, error) { if(selectedE == "on") { var data = {}; data.error = {"msg": msg, "url": url, "line": lineNo, "column": columnNo, "obj": error}; - data.client = {"ua": navigator.userAgent, "app_version": app_version, "previous_commit": previous_commit}; + data.client = {"ua": navigator.userAgent, "app_version": app_version, "previous_commit": previous_commit, "username": }; + + // Load required data + data.client.username = await localforage.getItem("username"); + data.type = "error"; $.post("https://beziapp-report.gimb.tk/", data); } else { diff --git a/dist/pages/about.html b/dist/pages/about.html index a784497..fe07d3a 100755 --- a/dist/pages/about.html +++ b/dist/pages/about.html @@ -142,7 +142,7 @@ <div class="row"> <p> <small> - ^HEAD a6a552efe42f84f439c82e21ba5dcc0f66e43a82 + ^HEAD dfd78d5fa91f1c3844a3c9b828ba699775a0c0d4 </small> </p> </div> @@ -3,8 +3,8 @@ // Change version to cause cache refresh -const static_cache_name = "site-static-1.0.14-beta-a6a552e"; -// commit before the latest is a6a552efe42f84f439c82e21ba5dcc0f66e43a82 +const static_cache_name = "site-static-1.0.14-beta-dfd78d5"; +// commit before the latest is dfd78d5fa91f1c3844a3c9b828ba699775a0c0d4 // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! |