From 548fcb9e38409902e12d117c745297e7637a7e67 Mon Sep 17 00:00:00 2001 From: Mantas VilĨinskas Date: Wed, 24 Feb 2021 16:29:44 +0200 Subject: API updates, lastmod, NCMS/default config changes, version to 0.80 --- exampleSite/netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exampleSite/netlify.toml') diff --git a/exampleSite/netlify.toml b/exampleSite/netlify.toml index d649777..0645d58 100644 --- a/exampleSite/netlify.toml +++ b/exampleSite/netlify.toml @@ -4,7 +4,7 @@ functions = "functions" [build.environment] - HUGO_VERSION = "0.48" + HUGO_VERSION = "0.80" [context.production.environment] HUGO_ENV = "production" -- cgit v1.2.3-70-g09d2 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(-) (limited to 'exampleSite/netlify.toml') 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