stop hijacking /

This commit is contained in:
2026-01-23 22:12:44 -05:00
parent 04a626df60
commit d246ba7c16

View File

@@ -44,7 +44,6 @@ func prepHTTPServer(opts *opts.AppHTTP) *http.Server {
healthChecks := handleHealthCheckFunc(opts.Ctx, opts.HealthChecks...) healthChecks := handleHealthCheckFunc(opts.Ctx, opts.HealthChecks...)
mux.HandleFunc("/health", healthChecks) mux.HandleFunc("/health", healthChecks)
mux.HandleFunc("/", healthChecks)
for _, f := range opts.Funcs { for _, f := range opts.Funcs {
mux.HandleFunc(f.Path, f.HandlerFunc) mux.HandleFunc(f.Path, f.HandlerFunc)