fix(control): would exit instantly

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