From b469da70e8112f533e61ee002ef62ef1f34b4a18 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Wed, 10 Sep 2025 09:33:19 +0500 Subject: [PATCH] api: only expose /metrics endpoint internally --- Notesnook.API/Startup.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Notesnook.API/Startup.cs b/Notesnook.API/Startup.cs index a049119..e560f0d 100644 --- a/Notesnook.API/Startup.cs +++ b/Notesnook.API/Startup.cs @@ -277,7 +277,6 @@ namespace Notesnook.API app.UseEndpoints(endpoints => { - endpoints.MapPrometheusScrapingEndpoint(); endpoints.MapControllers(); endpoints.MapHealthChecks("/health"); endpoints.MapHub("/hubs/sync", options =>