reroute /metrics to /metrics.json
This commit is contained in:
parent
dea07cd49b
commit
998092f377
@ -98,7 +98,7 @@ class Router(object):
|
|||||||
StaticRoute("/features", FeatureController),
|
StaticRoute("/features", FeatureController),
|
||||||
StaticRoute("/api/features", ApiController),
|
StaticRoute("/api/features", ApiController),
|
||||||
StaticRoute("/api/receiverdetails", ApiController, options={"action": "receiverDetails"}),
|
StaticRoute("/api/receiverdetails", ApiController, options={"action": "receiverDetails"}),
|
||||||
StaticRoute("/metrics", MetricsController),
|
StaticRoute("/metrics.json", MetricsController),
|
||||||
StaticRoute("/settings", SettingsController),
|
StaticRoute("/settings", SettingsController),
|
||||||
StaticRoute("/generalsettings", GeneralSettingsController),
|
StaticRoute("/generalsettings", GeneralSettingsController),
|
||||||
StaticRoute(
|
StaticRoute(
|
||||||
|
Loading…
Reference in New Issue
Block a user