Skip to content

Commit

Permalink
Merge pull request #19 from jbragagnolo/fix/healthcheckroute
Browse files Browse the repository at this point in the history
Fix Route.
  • Loading branch information
daichirata authored Feb 13, 2023
2 parents 2027a83 + b05ebfa commit 82d6421
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 82d6421

Please sign in to comment.