root(minor): fix unnecessary redirect for prometheus
This commit is contained in:
parent
e6256cb9c8
commit
784dd0fdd6
|
@ -32,7 +32,7 @@ for _passbook_app in get_apps():
|
||||||
urlpatterns += [
|
urlpatterns += [
|
||||||
# Administration
|
# Administration
|
||||||
path('administration/django/', admin.site.urls),
|
path('administration/django/', admin.site.urls),
|
||||||
path('metrics/', MetricsView.as_view(), name='metrics')
|
path('metrics', MetricsView.as_view(), name='metrics')
|
||||||
]
|
]
|
||||||
|
|
||||||
if settings.DEBUG:
|
if settings.DEBUG:
|
||||||
|
|
Reference in New Issue