1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-12-21 07:41:57 +00:00
now-playing/netlify.toml

28 lines
492 B
TOML
Raw Normal View History

[build]
publish = "public"
command = "hugo -b $URL"
2019-12-03 23:41:09 +00:00
[context.production.environment]
HUGO_ENV = "production"
command = "hugo -b $URL"
[context.deploy-preview]
command = "hugo -b $DEPLOY_PRIME_URL"
2019-12-03 23:41:09 +00:00
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
2019-12-03 23:03:24 +00:00
X-Content-Type-Options = "nosniff"
2019-12-03 20:06:22 +00:00
[[redirects]]
2020-03-17 18:28:39 +00:00
force = true
2019-12-03 20:06:22 +00:00
from = "/musics"
to = "/"
[[redirects]]
2020-03-17 18:28:39 +00:00
force = true
2019-12-03 20:06:22 +00:00
from = "/page:*"
to = "/page/:splat"