added CORS info in readme

This commit is contained in:
2019-09-17 16:16:30 +02:00
parent a0324a73ef
commit 696ce52966
+6
View File
@@ -45,6 +45,12 @@ the api is ready, you can go to http://localhost:8984/gdp/home
## Client
open http://localhost:8988 in your browser
## Vhost or Cross Origins Policy
Cross origin poilicy will block the api requests from client
You'll need to install vhost domain for api and client, like dev.gdp.net and dev.api.gdp.net
Or in firefox install this addon to allow cors addons.mozilla.org/en-US/firefox/addon/cors-everywhere/
## Logs
to follow the webpack compilation process, run
```
sudo docker-compose logs -f