parent
0ac3cefb03
commit
0cb59678d4
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
|||
export default {
|
||||
name: "App",
|
||||
mounted() {
|
||||
if (window.location.protocol == "http") {
|
||||
if (window.location.protocol == "http" && !window.location.hostname.endsWith('.onion')) {
|
||||
// Redirect to HTTPS
|
||||
window.location.href = window.location.href.replace("http:", "https:");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue