summaryrefslogtreecommitdiffstats
path: root/js/app.js
diff options
context:
space:
mode:
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);
}