2020-01-13 16:24:37 +00:00
|
|
|
[build]
|
|
|
|
publish = "public"
|
|
|
|
command = "hugo -b $URL"
|
|
|
|
|
2019-12-03 23:41:09 +00:00
|
|
|
[context.production.environment]
|
|
|
|
HUGO_ENV = "production"
|
2020-01-13 16:24:37 +00:00
|
|
|
command = "hugo -b $URL"
|
|
|
|
|
|
|
|
[context.deploy-preview]
|
|
|
|
command = "hugo -b $DEPLOY_PRIME_URL"
|
2019-12-03 23:41:09 +00:00
|
|
|
|
2019-12-03 22:58:01 +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 22:58:01 +00:00
|
|
|
|
2019-12-03 20:06:22 +00:00
|
|
|
[[redirects]]
|
|
|
|
from = "/musics"
|
|
|
|
to = "/"
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/page:*"
|
|
|
|
to = "/page/:splat"
|