aboutsummaryrefslogtreecommitdiff
path: root/exampleSite/netlify.toml
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2021-04-17 14:18:48 +0300
committerGitHub <noreply@github.com>2021-04-17 14:18:48 +0300
commit18500f7d6fbef6e31d3a319d3ac209cbd00abb06 (patch)
treed0d41a7055f2314a92b6f475ece58506280080f1 /exampleSite/netlify.toml
parent48f41399bad4317205026933f018ad2c192d8f08 (diff)
parent740f8fe924ecda15de73002f648454cf5612142f (diff)
v5 goes live - #151
Diffstat (limited to 'exampleSite/netlify.toml')
-rw-r--r--exampleSite/netlify.toml9
1 files changed, 7 insertions, 2 deletions
diff --git a/exampleSite/netlify.toml b/exampleSite/netlify.toml
index d649777..5def631 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"
@@ -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