[doc] Document how to disable strict CORS checking

This commit is contained in:
missytake 2022-03-05 23:13:01 +01:00
parent 32a8712805
commit bd17d5321b

View file

@ -33,6 +33,7 @@
3. Install the dependencies with `npm i` 3. Install the dependencies with `npm i`
4. Install Angular with `npm i -g @angular/cli` 4. Install Angular with `npm i -g @angular/cli`
5. Turn off production mode if you have not already (see above in backend). 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 6. Start the backend in a different terminal
7. To serve and open the application, run `ng s -o`. The application will open 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). under [http://127.0.0.1:4200](http://127.0.0.1:4200).