bug cookie consent port différent de 80

This commit is contained in:
Fred Tempez 2022-05-31 21:07:20 +02:00
parent cec51c03aa
commit bfc1896028

View File

@ -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);