From bfc1896028b139d4e42cb5d6de61b9c9cb77e824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Tue, 31 May 2022 21:07:20 +0200 Subject: [PATCH] =?UTF-8?q?bug=20cookie=20consent=20port=20diff=C3=A9rent?= =?UTF-8?q?=20de=2080?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.js.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.js.php b/core/core.js.php index 2b87ea0d..a0ac2732 100644 --- a/core/core.js.php +++ b/core/core.js.php @@ -214,7 +214,7 @@ core.start = function() { // Variables des cookies var getUrl = window.location; - var domain = "domain=" + getUrl.host + ";"; + var domain = "domain=" + getUrl.hostname + ";"; //var path = "path=" + getUrl.pathname.split('/')[1] + ";"; var e = new Date(); e.setFullYear(e.getFullYear() + 1);