From 84719e310e0432d809248bb937da025b4478ee15 Mon Sep 17 00:00:00 2001 From: Mantas VilĨinskas Date: Sat, 17 Apr 2021 14:19:08 +0300 Subject: v5.0 --- netlify.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'netlify.toml') diff --git a/netlify.toml b/netlify.toml index d649777..5def631 100644 --- a/netlify.toml +++ b/netlify.toml @@ -4,7 +4,7 @@ functions = "functions" [build.environment] - HUGO_VERSION = "0.48" + HUGO_VERSION = "0.80" [context.production.environment] HUGO_ENV = "production" @@ -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