You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
in the Bassa frontend code, it is hardcoded to send the requests to the 'localhost:5000/api'. This needs the Bassa API running on the user's localhost, which is very wrong.
To Reproduce
Steps to reproduce the behaviour:
Run Bassa UI in production mode ( not in develop mode with Gulp. Run with the Docker. )
Observe the API calls
Expected behaviour
API URL should be configurable in the frontend when the fronted Docker is run, like via an ENV variable passed to the Docker.
Then the frontend should be sending the API calls to this configured URL.
Screenshots
The text was updated successfully, but these errors were encountered:
agentmilindu
changed the title
Bassa Ui is hardcoded to send the request to 'localhost:5000/api'
Bassa UI is hardcoded to send the request to 'localhost:5000/api'
Aug 6, 2020
Describe the bug
in the Bassa frontend code, it is hardcoded to send the requests to the 'localhost:5000/api'. This needs the Bassa API running on the user's localhost, which is very wrong.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
API URL should be configurable in the frontend when the fronted Docker is run, like via an ENV variable passed to the Docker.
Then the frontend should be sending the API calls to this configured URL.
Screenshots
The text was updated successfully, but these errors were encountered: