1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-11-09 14:51:52 +00:00
now-playing/netlify.toml
2022-03-26 14:51:37 +01:00

30 lines
539 B
TOML

[build]
publish = "public"
command = "hugo -b $URL"
[build.environment]
HUGO_VERSION = "0.95.0"
[context.production.environment]
HUGO_ENV = "production"
command = "hugo -b $URL"
[context.deploy-preview]
command = "hugo -b $DEPLOY_PRIME_URL"
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
[[redirects]]
force = true
from = "/musics"
to = "/"
[[redirects]]
force = true
from = "/page:*"
to = "/page/:splat"