87 lines
No EOL
1.9 KiB
TOML
87 lines
No EOL
1.9 KiB
TOML
###
|
|
# BUILD
|
|
###
|
|
[build]
|
|
command = "npm run build"
|
|
publish = "_site"
|
|
edge_functions = "api"
|
|
|
|
[[plugins]]
|
|
package = "/plugins/fetch-scrobbles"
|
|
|
|
###
|
|
# URLs
|
|
###
|
|
[build.processing.html]
|
|
pretty_urls = true
|
|
|
|
###
|
|
# HEADERS
|
|
###
|
|
[[headers]]
|
|
for = "/feeds/posts"
|
|
[headers.values]
|
|
Content-Type = "application/xml; charset=utf-8"
|
|
x-content-type-options = "nosniff"
|
|
|
|
[[headers]]
|
|
for = "/feeds/links"
|
|
[headers.values]
|
|
Content-Type = "application/xml; charset=utf-8"
|
|
x-content-type-options = "nosniff"
|
|
|
|
[[headers]]
|
|
for = "/feeds/books"
|
|
[headers.values]
|
|
Content-Type = "application/xml; charset=utf-8"
|
|
x-content-type-options = "nosniff"
|
|
|
|
[[headers]]
|
|
for = "/feeds/follow"
|
|
[headers.values]
|
|
Content-Type = "application/xml; charset=utf-8"
|
|
x-content-type-options = "nosniff"
|
|
|
|
[[headers]]
|
|
for = "/.well-known/webfinger"
|
|
[headers.values]
|
|
Content-Type = "application/jrd+json; charset=utf-8"
|
|
|
|
[[headers]]
|
|
for = "/.well-known/gpc.json"
|
|
[headers.values]
|
|
Content-Type = "application/jrd+json; charset=utf-8"
|
|
|
|
[[headers]]
|
|
for = "/.well-known/traffic-advice"
|
|
[headers.values]
|
|
Content-Type = "application/trafficadvice+json"
|
|
|
|
[[headers]]
|
|
for = "/contribute.json"
|
|
[headers.values]
|
|
Content-Type = "application/json"
|
|
|
|
[[headers]]
|
|
for = "/api/now-playing"
|
|
[headers.values]
|
|
Content-Type = "application/json"
|
|
|
|
[[headers]]
|
|
for = "/api/search"
|
|
[headers.values]
|
|
Content-Type = "application/json"
|
|
|
|
[[headers]]
|
|
for = "/blogroll.opml"
|
|
[headers.values]
|
|
Content-Disposition = "attachment; filename=cory-dransfeldt-blogroll.opml"
|
|
|
|
[[headers]]
|
|
for = "/*"
|
|
[headers.values]
|
|
Content-Security-Policy = "upgrade-insecure-requests; block-all-mixed-content;"
|
|
X-Frame-Options = "DENY"
|
|
X-XSS-Protection = "1; mode=block"
|
|
Referrer-Policy = "strict-origin-when-cross-origin, no-referrer-when-downgrade"
|
|
Permissions-Policy = "autoplay=(), camera=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), publickey-credentials-get=()" |