This commit is contained in:
6
templates/https.js
Normal file
6
templates/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