aboutsummaryrefslogtreecommitdiff
path: root/exampleSite
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2022-10-28 15:32:15 +0300
committerGitHub <noreply@github.com>2022-10-28 15:32:15 +0300
commit236f908455b9ae9541cf947721f1bfabf9d39606 (patch)
tree658f293ac194a06ad4d0cce32ca9ad6c5702cdd9 /exampleSite
parent04bd44a5cf60fd23b9a49163b590bc439690cae8 (diff)
parent7b99f99332d80eb1383561d45e847213cec71d37 (diff)
cstate v5.5 merge
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/netlify.toml2
-rw-r--r--exampleSite/static/_headers2
2 files changed, 3 insertions, 1 deletions
diff --git a/exampleSite/netlify.toml b/exampleSite/netlify.toml
index e0bd82e..cc27ac3 100644
--- a/exampleSite/netlify.toml
+++ b/exampleSite/netlify.toml
@@ -17,6 +17,6 @@
command = "hugo -b $DEPLOY_PRIME_URL"
[[headers]]
- for = ["/*.json", "/*.xml"]
+ for = ["/*"]
[headers.values]
Access-Control-Allow-Origin = "*"
diff --git a/exampleSite/static/_headers b/exampleSite/static/_headers
new file mode 100644
index 0000000..c776a47
--- /dev/null
+++ b/exampleSite/static/_headers
@@ -0,0 +1,2 @@
+/*
+ Access-Control-Allow-Origin: *