aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2022-02-27 13:34:32 +0200
committerGitHub <noreply@github.com>2022-02-27 13:34:32 +0200
commitb3fb4fdca4d3f2ffb02180e76bd5b2d0b5863bc0 (patch)
treebb684c9dacdaaf060d54b7df13006fef4e1df047
parent6a773ffa642fb182580d8c81992c0c925ecedd15 (diff)
#230
-rw-r--r--exampleSite/netlify.toml7
1 files changed, 2 insertions, 5 deletions
diff --git a/exampleSite/netlify.toml b/exampleSite/netlify.toml
index edf34b2..bdf2ebf 100644
--- a/exampleSite/netlify.toml
+++ b/exampleSite/netlify.toml
@@ -17,9 +17,6 @@
command = "hugo -b $DEPLOY_PRIME_URL"
[[headers]]
- for = "/*.json"
- [headers.values]
- Access-Control-Allow-Origin = "*"
- for = "/*.xml"
- [headers.values]
+ for = ["/*.json", "/*.xml"]
+ [headers.values]
Access-Control-Allow-Origin = "*"