1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-12-02 03:41:40 +00:00
now-playing/netlify.toml

44 lines
704 B
TOML
Raw Normal View History

[build]
publish = "public"
command = "hugo -b $URL"
2022-03-26 13:51:37 +00:00
[build.environment]
2024-04-21 18:21:08 +00:00
HUGO_VERSION = "0.124.1"
2022-03-26 13:51:37 +00:00
2019-12-03 23:41:09 +00:00
[context.production.environment]
2024-04-21 18:21:08 +00:00
HUGO_VERSION = "0.124.1"
2019-12-03 23:41:09 +00:00
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"