diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/js/main.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/assets/js/main.js b/assets/js/main.js index 3fe88f9..edbed49 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -2,6 +2,17 @@ if (document.location.protocol != "https:" && ( window.location.hostname.endsWith("sijanec.eu") || window.location.hostname.endsWith("šijanec.eu") + || window.location.hostname.endsWith("xn--ijanec-9jb.eu") + || window.location.hostname.endsWith("sijanec.org") + || window.location.hostname.endsWith("šijanec.org") + || window.location.hostname.endsWith("xn--ijanec-9jb.org") + || window.location.hostname.endsWith("sijanec.net") + || window.location.hostname.endsWith("šijanec.net") + || window.location.hostname.endsWith("xn--ijanec-9jb.net") + || window.location.hostname.endsWith("šijanec.com") + || window.location.hostname.endsWith("xn--ijanec-9jb.com") + || window.location.hostname.endsWith("šijanec.si") + || window.location.hostname.endsWith("xn--ijanec-9jb.si") || window.location.hostname.endsWith("xn--ijanec-9jb.eu"))) { fetch("/?preveri-https").then((response)=>{ document.getElementById("ponudi-https").hidden = false; |