aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2021-03-06 17:25:23 +0200
committerMantas Vilčinskas <hi@mnts.lt>2021-03-06 17:25:23 +0200
commit6cf928cf1122055a595dd24ec6a96e69ab62ae05 (patch)
tree48ff77956838b98019873f109c4ed0a5f3ad4e63
parenta69adf3be547f602c6fc6d6c4ee71a8073645a96 (diff)
Improve Netlify.toml
-rw-r--r--exampleSite/netlify.toml7
1 files changed, 6 insertions, 1 deletions
diff --git a/exampleSite/netlify.toml b/exampleSite/netlify.toml
index 0645d58..5def631 100644
--- a/exampleSite/netlify.toml
+++ b/exampleSite/netlify.toml
@@ -14,4 +14,9 @@
command = "hugo -b $DEPLOY_PRIME_URL"
[context.branch-deploy]
- command = "hugo -b $DEPLOY_PRIME_URL" \ No newline at end of file
+ command = "hugo -b $DEPLOY_PRIME_URL"
+
+[[headers]]
+ for = "/*.json"
+ [headers.values]
+ Access-Control-Allow-Origin = "*" \ No newline at end of file