diff options
author | Jacob Marshall <29145479+jacobhq@users.noreply.github.com> | 2021-03-14 08:15:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-14 08:15:20 +0000 |
commit | a95d82dea49227feeefedf6a58a3593da307e128 (patch) | |
tree | c132ec6bca13060bfb5db3ed5af51bdc4d90727a | |
parent | 48f41399bad4317205026933f018ad2c192d8f08 (diff) |
Allow cross origin on Vercel deployments
-rw-r--r-- | exampleSite/vercel.json | 12 |
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" } + ] + } + ] +} |