stop hijacking /
This commit is contained in:
@@ -44,7 +44,6 @@ func prepHTTPServer(opts *opts.AppHTTP) *http.Server {
|
||||
|
||||
healthChecks := handleHealthCheckFunc(opts.Ctx, opts.HealthChecks...)
|
||||
mux.HandleFunc("/health", healthChecks)
|
||||
mux.HandleFunc("/", healthChecks)
|
||||
|
||||
for _, f := range opts.Funcs {
|
||||
mux.HandleFunc(f.Path, f.HandlerFunc)
|
||||
|
||||
Reference in New Issue
Block a user