summaryrefslogtreecommitdiffstats
path: root/assets/js
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-12-01 23:50:20 +0100
committersijanec <sijanecantonluka@gmail.com>2020-12-01 23:50:20 +0100
commit5fdb8d8f43e15b9581e8320153eb2e8c24cedac8 (patch)
tree05f9192f178fd698c0a62c9582b0c5d5592f6d67 /assets/js
parentdodal https predlog - hostname fix (diff)
downloadsijanec.eu-5fdb8d8f43e15b9581e8320153eb2e8c24cedac8.tar
sijanec.eu-5fdb8d8f43e15b9581e8320153eb2e8c24cedac8.tar.gz
sijanec.eu-5fdb8d8f43e15b9581e8320153eb2e8c24cedac8.tar.bz2
sijanec.eu-5fdb8d8f43e15b9581e8320153eb2e8c24cedac8.tar.lz
sijanec.eu-5fdb8d8f43e15b9581e8320153eb2e8c24cedac8.tar.xz
sijanec.eu-5fdb8d8f43e15b9581e8320153eb2e8c24cedac8.tar.zst
sijanec.eu-5fdb8d8f43e15b9581e8320153eb2e8c24cedac8.zip
Diffstat (limited to 'assets/js')
-rw-r--r--assets/js/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/assets/js/main.js b/assets/js/main.js
index 72d0b66..9a7bb1b 100644
--- a/assets/js/main.js
+++ b/assets/js/main.js
@@ -1,7 +1,8 @@
if (document.location.protocol != "https:"
&& (
window.location.hostname.endsWith("sijanec.eu")
- || window.location.hostname.endsWith("šijanec.eu"))) {
+ || window.location.hostname.endsWith("šijanec.eu")
+ || window.location.hostname.endsWith("xn--ijanec-9jb.eu"))) {
fetch("/?preveri-https").then((response)=>{
document.getElementById("ponudi-https").hidden = false;
}).catch((error)=>{