From 998092f3776527a96745f67d8572a555f8cf9496 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Mon, 1 Feb 2021 18:26:26 +0100 Subject: [PATCH] reroute /metrics to /metrics.json --- owrx/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/http.py b/owrx/http.py index 743f2c9..c31802e 100644 --- a/owrx/http.py +++ b/owrx/http.py @@ -98,7 +98,7 @@ class Router(object): StaticRoute("/features", FeatureController), StaticRoute("/api/features", ApiController), StaticRoute("/api/receiverdetails", ApiController, options={"action": "receiverDetails"}), - StaticRoute("/metrics", MetricsController), + StaticRoute("/metrics.json", MetricsController), StaticRoute("/settings", SettingsController), StaticRoute("/generalsettings", GeneralSettingsController), StaticRoute(