Added better startup message

This commit is contained in:
Waldo 2026-03-07 08:24:55 -07:00
parent bbcb666c53
commit 944e4c89b7

View File

@ -50,6 +50,14 @@ func main() {
port = "4567" port = "4567"
} }
campfireURL := os.Getenv("CAMPFIRE_URL")
if campfireURL == "" {
campfireURL = "(not set)"
}
fmt.Printf("Listening on port %s\n", port)
fmt.Printf("Campfire URL: %s\n", campfireURL)
panic(http.ListenAndServe(":"+port, nil)) panic(http.ListenAndServe(":"+port, nil))
} }