mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-05 16:37:09 +00:00
change control port to 8080
This commit is contained in:
+4
-2
@@ -25,12 +25,14 @@ func main() {
|
||||
return ctx.String(http.StatusOK, "pong")
|
||||
})
|
||||
|
||||
port := "8080"
|
||||
|
||||
go func() {
|
||||
err := e.Start(":1323")
|
||||
err := e.Start(":" + port)
|
||||
if err != nil {
|
||||
slog.Error("Failed to start Echo Webserver", "error", err)
|
||||
}
|
||||
}()
|
||||
|
||||
shared.OpenBrowserWindow("http://localhost:1323", false, false)
|
||||
shared.OpenBrowserWindow("http://localhost:"+port, false, false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user