From 6cf928cf1122055a595dd24ec6a96e69ab62ae05 Mon Sep 17 00:00:00 2001 From: Mantas VilĨinskas Date: Sat, 6 Mar 2021 17:25:23 +0200 Subject: Improve Netlify.toml --- exampleSite/netlify.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2