diff --git a/assets/js/handshake.js b/assets/js/handshake.js new file mode 100644 index 0000000..702c9a0 --- /dev/null +++ b/assets/js/handshake.js @@ -0,0 +1,6 @@ +if (window.location.hostname != document.currentScript.getAttribute('domain')){ + window.location.href = "https://" + document.currentScript.getAttribute('domain') + window.location.pathname; +} +else{ + console.log("Already Redirected"); +} \ No newline at end of file diff --git a/faq.html b/faq.html index 97d2020..3879c1c 100644 --- a/faq.html +++ b/faq.html @@ -72,7 +72,7 @@ - + diff --git a/index.html b/index.html index 4b7d628..42081e0 100644 --- a/index.html +++ b/index.html @@ -21,7 +21,7 @@ - +