Skip to content

Commit 444a4cb

Browse files
committed
fix
1 parent ceedb89 commit 444a4cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

component/status/component.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func (c Component) RegisterHttpHandlers(publicMux *http.ServeMux, internalMux *h
3232
w.WriteHeader(http.StatusOK)
3333
_, _ = w.Write([]byte("OK"))
3434
})
35-
mux.HandleFunc("/version", func(w http.ResponseWriter, r *http.Request) {
35+
internalMux.HandleFunc("/version", func(w http.ResponseWriter, r *http.Request) {
3636
w.WriteHeader(http.StatusOK)
3737
_, _ = w.Write([]byte(BuildInfo()))
3838
})

0 commit comments

Comments
 (0)