From 924909136542f4c213f3318551ebe3f0e45430bc Mon Sep 17 00:00:00 2001 From: sijanec Date: Sun, 15 Nov 2020 02:27:59 +0100 Subject: dodal https predlog - hostname fix --- assets/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/main.js b/assets/js/main.js index c19eb0f..72d0b66 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -1,7 +1,7 @@ if (document.location.protocol != "https:" && ( window.location.hostname.endsWith("sijanec.eu") - || window.location.hostname.endsWith("xn--ijanec-9jb.eu"))) { + || window.location.hostname.endsWith("šijanec.eu"))) { fetch("/?preveri-https").then((response)=>{ document.getElementById("ponudi-https").hidden = false; }).catch((error)=>{ -- cgit v1.2.3