open-simulation-platform / cosim-demo-app

Application demonstrating libcosim features
https://open-simulation-platform.github.io/libcosim
Mozilla Public License 2.0
17 stars 4 forks source link

Client assumes server is always running on localhost #198

Open THEvang opened 2 years ago

THEvang commented 2 years ago

Running the cosim-demo-app on a server and accessing the web client from another machine is not possible because the client always assumes that the server is running on localhost:8000.

The index page of the demo app is correctly obtained, but immediately enters an error state.

image