diff --git a/public/js/detect.js b/public/js/detect.js index 374e12c..a05d20d 100644 --- a/public/js/detect.js +++ b/public/js/detect.js @@ -7,6 +7,6 @@ function addWarning() { document.body.appendChild(alertDiv); } -if (window.location.href == "https://archblox.com" || window.location.href == "http://archblox.com" || window.location.href == "https://archblox.com/" || window.location.href == "http://archblox.com/") {} else { +if (window.document.location.hostname == "archblox.com") {} else { addWarning(); } \ No newline at end of file