summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-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)=>{