protontypes / climate-triage

Find your impactful open source contribution to climate technology and sustainability.
https://climatetriage.com
MIT License
32 stars 4 forks source link

Security headers missing #18

Closed Codeshark-NET closed 8 months ago

Codeshark-NET commented 8 months ago

Previously I had to remove the security headers from next.s as it doesn't know how to export those to static files - but perhaps there's a way to enable them on github pages or in the root layout.tsx

https://securityheaders.com/?q=https%3A%2F%2Fclimatetriage.com%2F&followRedirects=on

The past headers can be found in next.config.js still.

CC: @andrew (this is the one I mentioned)

andrew commented 8 months ago

I don't believe you can change the headers in github pages, you'd need to proxy the site through another webserver like cloudflare or nginx.

Codeshark-NET commented 8 months ago

Moved this to https://github.com/protontypes/climate-triage/issues/20