From 8e9e486004ae7bf926e5c62f3e739c301d24f12d Mon Sep 17 00:00:00 2001 From: Jeremy Plichta Date: Sat, 7 Sep 2024 20:16:45 -0600 Subject: [PATCH] show consent initially for non logged in users --- inc/header.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/header.php b/inc/header.php index 4ba9447..12e879d 100644 --- a/inc/header.php +++ b/inc/header.php @@ -105,7 +105,7 @@ } if (!$_SERVER['HTTPS']) { ?> Click to switch to a secure connection (https). Please be aware of LCWO's privacy policy to comply with the GDPR. @@ -123,7 +123,7 @@ function agree_policy () { var i = document.getElementById("consent"); i.innerHTML = "Thanks!"; var request = new XMLHttpRequest(); - request.open("GET", "//lcwo.net/api/consent.php", true); + request.open("GET", "/api/consent.php", true); request.send(); }