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 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CMr9Yt8SYmZcfgrg3CV2G1
This commit is contained in:
thePR0M3TH3ANandClaude Fable 5 committed 2026-07-31 10:14:43 -04:00
1 parent 847a855ec8
commit 8d40d85079
1 file changed
-46
-46
View File
@@ -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"