Updated location

This commit is contained in:
Nathan Woodburn
2022-02-03 15:03:47 +11:00
parent d1ff54bb3e
commit f822682b0e

View File

@@ -1,6 +0,0 @@
if (window.location.hostname != document.currentScript.getAttribute('domain')){
window.location.href = "https://" + document.currentScript.getAttribute('domain') + window.location.pathname;
}
else{
console.log("Already Redirected");
}