fix(netlify): add headers for Web App Manifest and RSS feed (#40)
This commit is contained in:
parent
ef10dff4d2
commit
09d1d39944
1 changed files with 10 additions and 0 deletions
10
netlify.toml
10
netlify.toml
|
@ -14,3 +14,13 @@
|
||||||
|
|
||||||
[context.branch-deploy]
|
[context.branch-deploy]
|
||||||
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
|
[[headers]]
|
||||||
|
for = "*.webmanifest"
|
||||||
|
[headers.values]
|
||||||
|
Content-Type = "application/manifest+json; charset=UTF-8"
|
||||||
|
|
||||||
|
[[headers]]
|
||||||
|
for = "index.xml"
|
||||||
|
[headers.values]
|
||||||
|
Content-Type = "application/rss+xml"
|
||||||
|
|
Loading…
Reference in a new issue