variabilized app name
All checks were successful
Update Child Repos / update (push) Successful in 7s

This commit is contained in:
2026-01-02 15:14:48 +01:00
parent 75769dcff6
commit 24e45d728d
3 changed files with 5 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ import (
type WebServer struct {
HTTPServer *http.Server
AppName string `yaml:"app_name"`
Listen WSListen `yaml:"listen"`
}
@@ -25,6 +26,7 @@ func (s *WebServer) Initialize() {
Address: "0.0.0.0",
Port: "80",
}
s.AppName = "Go Template Container Web Server"
// Attempt to read the config file
configFile, err := os.ReadFile("config.yml")