Bassa uses localhost URL's, instead use IP address of localhost
Feature bug
Expected Behavior
Currently, when someone will use Bassa for the enterprise then localhost will be redundant because most of the requests use localhost.
Current Behavior
Someone on the same network can't access Bassa server for any activity because browser makes requests to localhost which is itself.
Possible Solution
Instead of making localhost requests, use Bassa server-setup IP address or define config file for doing this.
Steps to Reproduce (for bugs)
- Make a config file for every run
- Use localhost for development and IP address on production
- Improve all existing API's for above strategy
- Change unit tests accordingly
Your Environment
- Version used: v 0.0.1
@agentmilindu @rehrumesh @malithsen what you think about this?
@vivonk Yes, server IP/domain should come from a config.
@vivonk Can you add this as a GCI task?
I am reopening this issue as this also has to be done for deployments so we have to implement it before release :) @kmehant
@vivonk I will take up this issue :)
Ok sure @kmehant :)