PR #666 should be applied before this one, but there is no hard dependency between them.
This modifies LaserWeb's default configuration for accessing the backend server. Instead of using localhost:8000, it uses the hostname of the web server that served the frontend.
The change enables LaserWeb to automatically find the correct address when it is bundled with lw.comm-server. But users can still choose to use a different server if they prefer. It should work with any browser. However, if auto-detection is not available, the software will fall back to the previous defaults.
PR #666 should be applied before this one, but there is no hard dependency between them.
This modifies LaserWeb's default configuration for accessing the backend server. Instead of using localhost:8000, it uses the hostname of the web server that served the frontend.
The change enables LaserWeb to automatically find the correct address when it is bundled with lw.comm-server. But users can still choose to use a different server if they prefer. It should work with any browser. However, if auto-detection is not available, the software will fall back to the previous defaults.