Open agentmilindu opened 6 years ago
I can do that.
a small problem though ... if you change BassaUrl to localhost/api then what about the POST requests from DashBoardService.js
method: 'POST',
url: BassaUrl + '/api/download',
data: JSON.stringify(link),
headers: {'Content-Type': 'application/x-www-form-urlencoded'}
where there is an extra /api so wouldn't the url become localhost/api/api/download and wouldn't the likewise happen for all others ?
https://github.com/scorelab/Bassa/blob/b74c25d6012c525cc41fc5ed9d4a0dcca184c6b8/ui/src/app/index.js#L6
Instead
localhost:5000
, we need to have this value ashttp://localhost/api
, but for this, we have to proxy the Flash API running on port 5000 to/api
See: