Skip to content

Commit

Permalink
Rerange handleFunc order
Browse files Browse the repository at this point in the history
  • Loading branch information
StefMa authored Jan 6, 2025
1 parent 67c1fe7 commit 1263f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/summaraizer-slack/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
)

func main() {
http.HandleFunc("/", api.IndexHandler)
http.HandleFunc("/event", api.EventHandler)
http.HandleFunc("/healthz", api.HealthzHandler)
http.HandleFunc("/ready", api.ReadyHandler)
http.HandleFunc("/", api.IndexHandler)

port := parsePort()
address := fmt.Sprintf(":%s", port)
Expand Down

0 comments on commit 1263f9f

Please sign in to comment.