aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--exampleSite/vercel.json12
2 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2b7af8c..098500a 100644
--- a/README.md
+++ b/README.md
@@ -15,6 +15,8 @@ You can also support the creator of this project by **starring, sharing, using c
* [**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/)
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" }
+ ]
+ }
+ ]
+}