aboutsummaryrefslogtreecommitdiff
path: root/exampleSite
diff options
context:
space:
mode:
authorJacob Marshall <29145479+jacobhq@users.noreply.github.com>2021-03-14 08:15:20 +0000
committerGitHub <noreply@github.com>2021-03-14 08:15:20 +0000
commita95d82dea49227feeefedf6a58a3593da307e128 (patch)
treec132ec6bca13060bfb5db3ed5af51bdc4d90727a /exampleSite
parent48f41399bad4317205026933f018ad2c192d8f08 (diff)
Allow cross origin on Vercel deployments
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/vercel.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/exampleSite/vercel.json b/exampleSite/vercel.json
new file mode 100644
index 0000000..53aef1d
--- /dev/null
+++ b/exampleSite/vercel.json
@@ -0,0 +1,12 @@
+{
+ "headers": [
+ {
+ "source": "/(.*)",
+ "headers": [
+ { "key": "Access-Control-Allow-Origin", "value": "*" },
+ { "key": "Access-Control-Allow-Methods", "value": "GET,OPTIONS" },
+ { "key": "Access-Control-Allow-Headers", "value": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version" }
+ ]
+ }
+ ]
+}