mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 01:29:16 +02:00
15 lines
326 B
Python
15 lines
326 B
Python
from rest_framework import routers
|
|
|
|
from . import views
|
|
|
|
router = routers.SimpleRouter(trailing_slash=False)
|
|
router.register(
|
|
r'federation/instance/actors',
|
|
views.InstanceActorViewSet,
|
|
'instance-actors')
|
|
router.register(
|
|
r'.well-known',
|
|
views.WellKnownViewSet,
|
|
'well-known')
|
|
|
|
urlpatterns = router.urls
|