From 48f41399bad4317205026933f018ad2c192d8f08 Mon Sep 17 00:00:00 2001 From: Mantas Vilčinskas Date: Sat, 28 Nov 2020 15:55:19 +0200 Subject: Netlify mention --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 795ced5..b7414a9 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ You can also support the creator of this project by **starring, sharing, and usi * [**Example site — cstate.mnts.lt**](https://cstate.mnts.lt) * [Source code of the example cState site](https://github.com/cstate/example) +*Thank you to [Netlify](https://www.netlify.com) for hosting our demo websites!* + ### More examples from the internet * [Chocolatey](https://status.chocolatey.org/) -- cgit v1.2.3-70-g09d2 From a95d82dea49227feeefedf6a58a3593da307e128 Mon Sep 17 00:00:00 2001 From: Jacob Marshall <29145479+jacobhq@users.noreply.github.com> Date: Sun, 14 Mar 2021 08:15:20 +0000 Subject: Allow cross origin on Vercel deployments --- exampleSite/vercel.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 exampleSite/vercel.json 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" } + ] + } + ] +} -- cgit v1.2.3-70-g09d2