Skip to content

Commit

Permalink
Fix Route.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbragagnolo committed Feb 13, 2023
1 parent 2027a83 commit b05ebfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func main() {
}

r := mux.NewRouter()
r.HandleFunc("/_health}", wrapper(HealthCheckHandler)).Methods("GET", "HEAD")
r.HandleFunc("/_health", wrapper(HealthCheckHandler)).Methods("GET", "HEAD")
r.HandleFunc("/{bucket:[0-9a-zA-Z-_.]+}/{object:.*}", wrapper(proxy)).Methods("GET", "HEAD")

log.Printf("[service] listening on %s", *bind)
Expand Down

0 comments on commit b05ebfa

Please sign in to comment.