1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-11-19 23:02:47 +00:00
now-playing/netlify.toml

31 lines
539 B
TOML
Raw Normal View History

[build]
publish = "public"
command = "hugo -b $URL"
2022-03-26 13:51:37 +00:00
[build.environment]
HUGO_VERSION = "0.95.0"
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"