From 8c35ea1bcdf6a044c9657b1a074c3a4499ebb469 Mon Sep 17 00:00:00 2001 From: Branden J Brown Date: Sun, 21 Jan 2024 20:32:39 -0600 Subject: [PATCH] apparently http.Error requires a plaintext response --- serve/consent.go | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/serve/consent.go b/serve/consent.go index 8d15f65..52a5af7 100644 --- a/serve/consent.go +++ b/serve/consent.go @@ -32,11 +32,7 @@ func NeedsConsent(next http.Handler) http.Handler { }) } -const cookieFailed = ` - - -

Consent required

-

The requested resource requires consent to processing identifying information and storying necessary cookies.

-

I'm just a lil guy. The information is used solely for providing the service's functionality.

- -` +const cookieFailed = ` +The requested resource requires consent to processing identifying information and storying necessary cookies. +I'm just a lil guy. The information is used solely for providing the service's functionality. +`