added CORS info in readme
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user