fix(control): would exit instantly

This commit is contained in:
2025-11-05 21:29:12 +01:00
parent c042ce5ef6
commit 3297327321
+5 -7
View File
@@ -27,12 +27,10 @@ func main() {
port := "8080"
go func() {
err := e.Start(":" + port)
if err != nil {
slog.Error("Failed to start Echo Webserver", "error", err)
}
}()
go shared.OpenBrowserWindow("http://localhost:"+port, false, false)
shared.OpenBrowserWindow("http://localhost:"+port, false, false)
err := e.Start(":" + port)
if err != nil {
slog.Error("Failed to start Echo Webserver", "error", err)
}
}