summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2021-02-15 13:57:11 +0100
committersijanec <anton@sijanec.eu>2021-02-15 13:57:11 +0100
commit98c434a39f2fa8de0d501a94309ae192acd01b6b (patch)
treecea3831753d11afb4eb4c194f2f05f231b17aa6b /assets
parentiframe name ne id (diff)
downloadsijanec.eu-98c434a39f2fa8de0d501a94309ae192acd01b6b.tar
sijanec.eu-98c434a39f2fa8de0d501a94309ae192acd01b6b.tar.gz
sijanec.eu-98c434a39f2fa8de0d501a94309ae192acd01b6b.tar.bz2
sijanec.eu-98c434a39f2fa8de0d501a94309ae192acd01b6b.tar.lz
sijanec.eu-98c434a39f2fa8de0d501a94309ae192acd01b6b.tar.xz
sijanec.eu-98c434a39f2fa8de0d501a94309ae192acd01b6b.tar.zst
sijanec.eu-98c434a39f2fa8de0d501a94309ae192acd01b6b.zip
Diffstat (limited to 'assets')
-rw-r--r--assets/js/main.js11
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;