diff --git a/main.go b/main.go index 450595f..336c91c 100644 --- a/main.go +++ b/main.go @@ -50,6 +50,14 @@ func main() { 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)) }