From 3ecf9ee350bcd126fdb36506a3f05c0fc80d6b33 Mon Sep 17 00:00:00 2001 From: Vanilla Date: Thu, 15 Jan 2026 19:33:36 +0800 Subject: [PATCH] fix(lib/registry.ts): Allow hide debug info. (#20891) --- lib/registry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/registry.ts b/lib/registry.ts index dda72ca8c..521cd6c20 100644 --- a/lib/registry.ts +++ b/lib/registry.ts @@ -257,7 +257,7 @@ for (const namespace in namespaces) { app.get('/', index); app.get('/healthz', healthz); app.get('/robots.txt', robotstxt); -if (config.debugInfo) { +if (config.debugInfo !== 'false') { // Only enable tracing in debug mode app.get('/metrics', metrics); }