aboutsummaryrefslogtreecommitdiff
path: root/netlify.toml
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2021-04-17 14:19:08 +0300
committerMantas Vilčinskas <hi@mnts.lt>2021-04-17 14:19:08 +0300
commit84719e310e0432d809248bb937da025b4478ee15 (patch)
tree94443784d5d6048017576c4c41005d12260ae564 /netlify.toml
parent4b6a7cdde04cadc4d5a0b6329cbd31cf0f095d1c (diff)
v5.0
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml9
1 files changed, 7 insertions, 2 deletions
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