remove enforcing https for now (this should be handled at server layer)
This commit is contained in:
parent
98538551e7
commit
faf581ebd9
1 changed files with 4 additions and 2 deletions
|
|
@ -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;;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue