diff --git a/src/App.vue b/src/App.vue index 7622dd2..38daafe 100644 --- a/src/App.vue +++ b/src/App.vue @@ -65,14 +65,16 @@ export default { this.$i18n.locale = this.$store.state.language || "en"; }, mounted() { + /** if ( window.location.protocol == "http" && !window.location.hostname.endsWith(".onion") ) { // Redirect to HTTPS - window.location.href = window.location.href.replace("http:", "https:"); + // window.location.href = window.location.href.replace("http:", "https:"); return; } + **/ if (this.currentUser) { this.$matrix .login(this.currentUser) @@ -188,4 +190,4 @@ export default { width: $main-desktop-width;; } } - \ No newline at end of file +