add configurable name
All checks were successful
Release / publish (push) Successful in 5m27s

This commit is contained in:
2025-07-08 11:57:16 +02:00
parent 30dac9f12f
commit 68574ad289
12 changed files with 461 additions and 31 deletions

View File

@@ -41,6 +41,7 @@ func serve() {
log.Println("config loaded")
mux := initialize.CreateMux(cfg)
log.Printf("serving on http://localhost:%d\n", cfg.Port)
if err := http.ListenAndServe(fmt.Sprintf(":%d", cfg.Port), mux); err != nil {
log.Fatal(err)
}