From e20fd0f84f4976948a984066336038e974c2b30e Mon Sep 17 00:00:00 2001 From: binwiederhier Date: Thu, 16 Mar 2023 22:40:52 -0400 Subject: [PATCH] Changelog --- docs/releases.md | 1 + server/server_middleware.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/releases.md b/docs/releases.md index 507e6e35..89c813b8 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -6,6 +6,7 @@ and the [ntfy Android app](https://github.com/binwiederhier/ntfy-android/release **Features:** +* Monitoring: ntfy now exposes a `/metrics` endpoint for [Prometheus](https://prometheus.io/) if [configured](config.md#monitoring) ([#210](https://github.com/binwiederhier/ntfy/issues/210), thanks to [@rogeliodh](https://github.com/rogeliodh) for reporting) * You can now use tokens in `client.yml` for publishing and subscribing ([#653](https://github.com/binwiederhier/ntfy/issues/653), thanks to [@wunter8](https://github.com/wunter8)) **Bug fixes + maintenance:** diff --git a/server/server_middleware.go b/server/server_middleware.go index 3e12ba07..5c83cf70 100644 --- a/server/server_middleware.go +++ b/server/server_middleware.go @@ -12,7 +12,6 @@ const ( contextRateVisitor contextKey = iota + 2586 contextTopic contextMatrixPushKey - contextUnifiedPush ) func (s *Server) limitRequests(next handleFunc) handleFunc {