vondenstein / portfolio

Fast, modern portfolio and blog powered by Gatsby
https://vondenstein.com
MIT License
1 stars 0 forks source link

implement CSP headers correctly #98

Open vondenstein opened 1 year ago

vondenstein commented 1 year ago

Want to implement CSP headers correctly, but currently enabling breaks CSS, image, and script loading. Consider using gatsby-plugin-csp or developing a new plugin to export the proper headers to vercel.json

vondenstein commented 1 year ago

The vercel.json generation method does not work, as Vercel loads the vercel.json before the build process. Looking into other ways to do this.