Closed TechnicJelle closed 2 months ago
Currently, the Open button is hardcoded to go to http://localhost:8100, but it should use the output of the CLI process to determine which URL to open. https://github.com/TechnicJelle/BlueMapGUI/blob/9f3926b8fc3735021ce290d977d5775b4cec0cfd/lib/control_panel.dart#L183
http://localhost:8100
Instead of waiting for "Webserver started." message, wait for port message and save the port in the big state class. https://github.com/TechnicJelle/BlueMapGUI/blob/9f3926b8fc3735021ce290d977d5775b4cec0cfd/lib/control_panel.dart#L43-L57
Currently, the Open button is hardcoded to go to
http://localhost:8100
, but it should use the output of the CLI process to determine which URL to open. https://github.com/TechnicJelle/BlueMapGUI/blob/9f3926b8fc3735021ce290d977d5775b4cec0cfd/lib/control_panel.dart#L183Instead of waiting for "Webserver started." message, wait for port message and save the port in the big state class. https://github.com/TechnicJelle/BlueMapGUI/blob/9f3926b8fc3735021ce290d977d5775b4cec0cfd/lib/control_panel.dart#L43-L57