diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fe7a89aa0ed37c4d3b6bf684618a0f2f1c5ac001..92c3c9fdf892b42adae03a92a535b98286849239 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,6 +9,11 @@ and this project adheres to `Semantic Versioning`_. Unreleased ---------- +Fixed +~~~~~ + +* Metrics endpoint for Prometheus was at the wrong URL. + `3.0`_ - 2022-05-11 ------------------- diff --git a/aleksis/core/urls.py b/aleksis/core/urls.py index 9792fcb75cd1e7197cda1f1e6707c3eb42ed1d3e..cc5d954523b331e02b02082014a911d76640ec00 100644 --- a/aleksis/core/urls.py +++ b/aleksis/core/urls.py @@ -42,11 +42,11 @@ urlpatterns = [ ), path("oauth/", include("oauth2_provider.urls", namespace="oauth2_provider")), path("system_status/", views.SystemStatusAPIView.as_view(), name="system_status_api"), + path("", include("django_prometheus.urls")), path( "django/", include( [ - path("", include("django_prometheus.urls")), path("account/login/", views.LoginView.as_view(), name="login"), path( "accounts/signup/", views.AccountRegisterView.as_view(), name="account_signup"