fix: Add routes for handshake redirect scripts
All checks were successful
Build Docker / Build Image (push) Successful in 30s
All checks were successful
Build Docker / Build Image (push) Successful in 30s
This commit is contained in:
6
templates/assets/js/https.js
Normal file
6
templates/assets/js/https.js
Normal file
@@ -0,0 +1,6 @@
|
||||
if (location.protocol !== 'https:') {
|
||||
location.replace(`https:${location.href.substring(location.protocol.length)}`);
|
||||
}
|
||||
else{
|
||||
console.log("Already Https");
|
||||
}
|
||||
Reference in New Issue
Block a user