mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 06:59:17 +02:00
See #192: replaced old stats endpoint with nodeinfo
This commit is contained in:
parent
e31bed050e
commit
b4ad7a4a71
7 changed files with 239 additions and 15 deletions
|
@ -1,11 +1,9 @@
|
|||
from django.conf.urls import url
|
||||
from django.views.decorators.cache import cache_page
|
||||
|
||||
from . import views
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^nodeinfo/$', views.NodeInfo.as_view(), name='nodeinfo'),
|
||||
url(r'^settings/$', views.InstanceSettings.as_view(), name='settings'),
|
||||
url(r'^stats/$',
|
||||
cache_page(60 * 5)(views.InstanceStats.as_view()), name='stats'),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue