diff options
author | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-02-10 19:14:31 +0100 |
---|---|---|
committer | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-02-10 19:14:31 +0100 |
commit | f1870c625a3b6a418a3f7a1d7ef85cab5ebe57c8 (patch) | |
tree | 9b41c472ddecfd6a22b8c17c579ef048cc9a7311 /js/app.js | |
parent | added bežiapp to all titles and added page name to navbar #2 (diff) | |
download | beziapp-f1870c625a3b6a418a3f7a1d7ef85cab5ebe57c8.tar beziapp-f1870c625a3b6a418a3f7a1d7ef85cab5ebe57c8.tar.gz beziapp-f1870c625a3b6a418a3f7a1d7ef85cab5ebe57c8.tar.bz2 beziapp-f1870c625a3b6a418a3f7a1d7ef85cab5ebe57c8.tar.lz beziapp-f1870c625a3b6a418a3f7a1d7ef85cab5ebe57c8.tar.xz beziapp-f1870c625a3b6a418a3f7a1d7ef85cab5ebe57c8.tar.zst beziapp-f1870c625a3b6a418a3f7a1d7ef85cab5ebe57c8.zip |
Diffstat (limited to 'js/app.js')
-rw-r--r-- | js/app.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,3 +12,7 @@ navigator.serviceWorker.addEventListener('message', (event) => { } }); } +if (location.protocol != 'https:') +{ + location.href = 'https:' + window.location.href.substring(window.location.protocol.length); +} |