From 61db61b05ad28658b4e2318b5d4c2e84c23b2e75 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 26 Jan 2026 15:52:18 +0100 Subject: fix port usage --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index f7e2078..adcb194 100644 --- a/main.go +++ b/main.go @@ -195,6 +195,6 @@ func main() { http.Handle("/events", broker) log.Printf("Serving http on %d\n", *port) - err := http.ListenAndServe(fmt.Sprintf(":%d", 8080), nil) + err := http.ListenAndServe(fmt.Sprintf(":%d", *port), nil) log.Panicf("Serving http failed with %s", err) } -- cgit v1.2.3