From 696ce5296608256e33afc759f880efa6eae715a4 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Tue, 17 Sep 2019 16:16:30 +0200 Subject: [PATCH] added CORS info in readme --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 12646a0..01df8ff 100644 --- a/README.md +++ b/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