Skip to content

Commit c30b2ba

Browse files
authored
[fix] delete endpoint /debug (#1099)
1 parent 722267f commit c30b2ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exporter/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type ServerOpts struct {
4545

4646
// RunWebServer runs the main web-server
4747
func RunWebServer(opts *ServerOpts, exporters []*Exporter, log *slog.Logger) {
48-
mux := http.DefaultServeMux
48+
mux := http.NewServeMux()
4949

5050
if len(exporters) == 0 {
5151
panic("No exporters were built. You must specify --mongodb.uri command argument or MONGODB_URI environment variable")

0 commit comments

Comments
 (0)