diff options
Diffstat (limited to '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); +} |