Added Github Action for build and release.

This commit is contained in:
2026-03-11 20:18:24 +01:00
parent ad53a6d8ac
commit e8256d66e3
6 changed files with 115 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ import (
)
const (
defaultAdminEndpoint = "http://localhost:3000"
defaultAdminEndpoint = "http://localhost:2600"
defaultAdminRegion = "us-east-1"
)
@@ -108,7 +108,7 @@ func endpointFromServerConfig(address string, port int) string {
host = "localhost"
}
if port <= 0 || port > 65535 {
port = 3000
port = 2600
}
return "http://" + net.JoinHostPort(host, strconv.Itoa(port))
}