Fredk
Fredk•3w ago

Cannot override the CSP defaults despite what the doc says

When I add "img-src 'self' data: 'https://firebasestorage.googleapis.com'", to my csp[] list, I get:
Ignoring duplicate Content-Security-Policy directive 'img-src'
How do i override the default img-src 'self' data: that I see in the header? Source: https://fresh.deno.dev/docs/plugins/csp
csp | Fresh docs
Set Content-Security-Policy (CSP) HTTP headers with the csp middleware
No description
1 Reply
Fredk
FredkOP•3w ago
Is my question too stupid for the staff to give it a little time for consideration? 🤔

Did you find this page helpful?