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/handshake.js
Normal file
6
templates/assets/js/handshake.js
Normal file
@@ -0,0 +1,6 @@
|
||||
if (window.location.hostname != document.currentScript.getAttribute('domain')){
|
||||
window.location.href = "https://" + document.currentScript.getAttribute('domain') + window.location.pathname + window.location.search + window.location.hash;
|
||||
}
|
||||
else{
|
||||
console.log("Already Redirected");
|
||||
}
|
||||
Reference in New Issue
Block a user