mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 01:49:56 +02:00
Url and views for instance actor and webfinger
This commit is contained in:
parent
e793f8365f
commit
75710638de
5 changed files with 181 additions and 0 deletions
15
api/funkwhale_api/federation/urls.py
Normal file
15
api/funkwhale_api/federation/urls.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
from rest_framework import routers
|
||||
|
||||
from . import views
|
||||
|
||||
router = routers.SimpleRouter(trailing_slash=False)
|
||||
router.register(
|
||||
r'instance',
|
||||
views.InstanceViewSet,
|
||||
'instance')
|
||||
router.register(
|
||||
r'.well-known',
|
||||
views.WellKnownViewSet,
|
||||
'well-known')
|
||||
|
||||
urlpatterns = router.urls
|
Loading…
Add table
Add a link
Reference in a new issue