Configuring your Content-Security-Policy on your development environment in 11ty

This is just a short post to discuss how I improved my Content-Security-Policy (CSP), on my local development environment in 11ty. This is essentially a follow-on post from my Securing your static website with HTTP response headers I wrote last year. Note : this post isn’t exclusive to 11ty—it’s just the static site generator I use for this site. The code can be easily adapted for any static site…