diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-01-26 15:52:18 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-01-26 15:52:18 +0100 |
| commit | 61db61b05ad28658b4e2318b5d4c2e84c23b2e75 (patch) | |
| tree | 234564cff7756c73447710175ec266b0f6f69f14 | |
| parent | 674bae36579a3b273c4802519178e90e5572c9ab (diff) | |
| download | ticket-counter-61db61b05ad28658b4e2318b5d4c2e84c23b2e75.tar.gz ticket-counter-61db61b05ad28658b4e2318b5d4c2e84c23b2e75.zip | |
fix port usage
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) } |
