1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-11-18 18:31:53 +00:00
now-playing/netlify.toml

43 lines
677 B
TOML
Raw Normal View History

[build]
publish = "public"
command = "hugo -b $URL"
2022-03-26 13:51:37 +00:00
[build.environment]
2023-02-20 01:11:16 +00:00
HUGO_VERSION = "0.110.0"
2022-03-26 13:51:37 +00:00
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"
2022-04-22 23:23:53 +00:00
[[redirects]]
force = true
from = "/a"
to = "/"
# Old urls
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 = "/"
2022-04-22 23:23:53 +00:00
[[redirects]]
force = true
from = "/musics/*"
to = "/a/:splat"
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 = "/page:*"
to = "/page/:splat"