mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
47 lines
940 B
TOML
47 lines
940 B
TOML
[build]
|
|
command = "npm run build"
|
|
publish = "dist"
|
|
|
|
[build.environment]
|
|
NODE_ENV = "development"
|
|
|
|
[[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"
|