Browse Source

added CORS info in readme

Bachir Soussi Chiadmi 4 years ago
parent
commit
696ce52966
1 changed files with 6 additions and 0 deletions
  1. 6 0
      README.md

+ 6 - 0
README.md

@@ -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