UI app ...Store, how to set the server value?

Hello all!,
We have a question about the correct way to configure the SessionStore object, that we find in /ui/src/stotes/ in chirpstack repo.
Please advice the correct way to configure the server address: with environment variable, indicate in package.json file, or in other place? Objects of …Store classes are created with empty string for the server host address.
In the application I did not find the place where the server address is specifically configured!
Of course, the chirpstack installation uses localhost:8080 in the orifinal setup. Maybe the emtry string falls back to localhost:8080…

If our App will run on separate host, how do we correctly configure host address for the Stores to be able to use these beautifull classes?

The empty "" means it will connect to the same host / port as used to serve the statics. E.g. if you are using https://chirpstack.example.com, then that hostname will be used.