apparently http.Error requires a plaintext response
This commit is contained in:
parent
44a34fcba7
commit
8c35ea1bcd
@ -32,11 +32,7 @@ func NeedsConsent(next http.Handler) http.Handler {
|
||||
})
|
||||
}
|
||||
|
||||
const cookieFailed = `<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<h1>Consent required</h1>
|
||||
<p>The requested resource requires consent to processing identifying information and storying necessary cookies.</p>
|
||||
<p>I'm just a lil guy. The information is used solely for providing the service's functionality.</p>
|
||||
</body>
|
||||
</html>`
|
||||
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.
|
||||
`
|
||||
|
Loading…
Reference in New Issue
Block a user