-
-
Notifications
You must be signed in to change notification settings - Fork 244
Open
Description
Hi!
I was doing some checking on my web services and noticed that GoatCounter hardcodes the CSP for the main goatcounter CDN as part of the codebase: https://github.com/arp242/goatcounter/blob/main/handlers/mw.go#L347
That CSP makes sense when somebody is using the CDN, but given I'm self-hosting the count.js file, is that necessary? Also, for the count file itself, I'm wondering if it needs to serve up any CSP allowances at all given that it's self-contained?
Happy to try to put up a PR to adjust the behavior if the above makes sense.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels