summaryrefslogtreecommitdiffstats
path: root/js/app.js
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-03-05 23:02:04 +0100
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-03-05 23:02:04 +0100
commitaf7a53069a4ffb8f041b785d89fe0fcb9f4ca63d (patch)
tree5a4ecb6f6aef4e18d8eb8d96e70bdd5c129f6c07 /js/app.js
parentmed slovenscino 2 (diff)
downloadbeziapp-af7a53069a4ffb8f041b785d89fe0fcb9f4ca63d.tar
beziapp-af7a53069a4ffb8f041b785d89fe0fcb9f4ca63d.tar.gz
beziapp-af7a53069a4ffb8f041b785d89fe0fcb9f4ca63d.tar.bz2
beziapp-af7a53069a4ffb8f041b785d89fe0fcb9f4ca63d.tar.lz
beziapp-af7a53069a4ffb8f041b785d89fe0fcb9f4ca63d.tar.xz
beziapp-af7a53069a4ffb8f041b785d89fe0fcb9f4ca63d.tar.zst
beziapp-af7a53069a4ffb8f041b785d89fe0fcb9f4ca63d.zip
Diffstat (limited to 'js/app.js')
-rw-r--r--js/app.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/app.js b/js/app.js
index 98da025..cc206f9 100644
--- a/js/app.js
+++ b/js/app.js
@@ -12,7 +12,6 @@ if (navigator.serviceWorker) {
}
});
}
-if (location.protocol != 'https:')
-{
+if (location.protocol != 'https:') {
location.href = 'https:' + window.location.href.substring(window.location.protocol.length);
}