From 8d40d850793ec2c3b8dc27a0039181fe6d9b0dbb Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Fri, 31 Jul 2026 10:14:43 -0400 Subject: [PATCH] Delete netlify.toml; the site deploys on Vercel Vestigial. Verified dead before removing: the live headers on bitvid.network come from vercel.json, not from this file -- /js/* is served with Vercel's default `max-age=0, must-revalidate` rather than the `immutable, max-age=31536000` netlify.toml asks for, which is proof the file is not consulted by anything deploying this site. It cost real time today by making the deploy target look like Netlify. Two rules it carried that vercel.json does NOT, both deliberately left out rather than silently dropped: - `Content-Security-Policy: frame-ancestors *` on /*. No behaviour change: absence is equally permissive, and the embed page relies on being framable, not on the header. - Long-lived immutable caching for /css/* and /js/*. This one is a real (small) performance regression that predates this commit -- the live site has been serving those with max-age=0 for as long as it has been on Vercel. Worth porting into vercel.json separately; deleting a file nothing reads is not the change that should carry it. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01CMr9Yt8SYmZcfgrg3CV2G1 --- netlify.toml | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index 132ac188..00000000 --- a/netlify.toml +++ /dev/null @@ -1,46 +0,0 @@ -[build] - command = "npm run build && npm run verify:dist:deploy-artifact" - publish = "dist" - -[build.environment] - NODE_ENV = "production" - -[[headers]] - for = "/*" - [headers.values] - Content-Security-Policy = "frame-ancestors *" - -[[headers]] - for = "/index.html" - [headers.values] - Cache-Control = "no-cache, must-revalidate" - -[[headers]] - for = "/embed.html" - [headers.values] - Cache-Control = "no-cache, must-revalidate" - -[[headers]] - for = "/*.html" - [headers.values] - Cache-Control = "no-cache, must-revalidate" - -[[headers]] - for = "/css/*" - [headers.values] - Cache-Control = "public, max-age=31536000, immutable" - -[[headers]] - for = "/js/*" - [headers.values] - Cache-Control = "public, max-age=31536000, immutable" - -[[headers]] - for = "/sw.min.js" - [headers.values] - Cache-Control = "public, max-age=0, must-revalidate" - -[[headers]] - for = "/site.webmanifest" - [headers.values] - Cache-Control = "public, max-age=0, must-revalidate"