mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-18 01:12:53 +00:00
f87b818201c3c9d7cb0ea12a607ad2f613976140
Production (Dokploy/Docker) was sending no security headers at all - static/_headers and wrangler.toml were Cloudflare Pages/Workers config that static-web-server never reads. Added sws.toml with the same CSP/security headers and the two redirects from _redirects, wired into the Dockerfile. Removed wrangler.toml, static/_headers, static/_redirects, the wrangler devDependency/deploy script, and related .gitignore/.dockerignore entries since Cloudflare deploy is no longer used. Also fixed a console error in theme.js where the Utterances postMessage call could fire before the comments iframe navigated to utteranc.es.
andwati.com
Languages
TypeScript
92.4%
CSS
5.2%
Dockerfile
2.2%
JavaScript
0.2%