Skip to content

Commit

Permalink
fix duplicate handler registration
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-mckay committed Sep 5, 2024
1 parent 6060c6f commit a426c7f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ func main() {
var handler http.Handler = mux

if !insecure {
mux.Handle("/control", authorize(ControlHandler, bearerToken))
if certFile == "" {
log.Fatal("certificate required for use with tls")
}
Expand Down

0 comments on commit a426c7f

Please sign in to comment.