From be665a282e57b8aa2ed2dbeaeb5863701b7de3b6 Mon Sep 17 00:00:00 2001
From: missytake <missytake@systemli.org>
Date: Sat, 5 Mar 2022 23:13:01 +0100
Subject: [PATCH] [doc] Document how to disable strict CORS checking

---
 CONTRIBUTING.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f2681cc..7d8a40f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -33,6 +33,7 @@
 3. Install the dependencies with `npm i`
 4. Install Angular with `npm i -g @angular/cli`
 5. Turn off production mode if you have not already (see above in backend).
+6. Also make sure to disable strict CORS checking for testing: `sudo su -c 'echo "cors_allow_origin = \"*\"" >> /etc/kibicara.conf'`
 6. Start the backend in a different terminal
 7. To serve and open the application, run `ng s -o`. The application will open
    under [http://127.0.0.1:4200](http://127.0.0.1:4200).