aboutsummaryrefslogtreecommitdiff
path: root/exampleSite
diff options
context:
space:
mode:
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: *