new port, env based config, build script

This commit is contained in:
2025-10-28 20:39:23 +01:00
parent 4a3fe068a3
commit a0b97a856a
8 changed files with 101 additions and 52 deletions

View File

@@ -94,7 +94,7 @@ func decode(mainFile MainFile) (Project, error) {
pr := Project{
Name: filepath.Base(wd),
ServerURL: "http://localhost:8080",
ServerURL: "http://localhost:25697",
}
if len(strings.TrimSpace(mainFile.ProjectName)) > 0 {
@@ -103,7 +103,7 @@ func decode(mainFile MainFile) (Project, error) {
if len(strings.TrimSpace(mainFile.Server.Hostname)) > 0 {
method := "https"
port := 8080
port := 25697
if mainFile.Server.Insecure {
method = "http"
}