diff --git a/api/funkwhale_api/federation/urls.py b/api/funkwhale_api/federation/urls.py index 0c59a1414aee428deadbf0be58ec348bbf3f5317..5b7895451f815924589d1864b30e5ebd63166481 100644 --- a/api/funkwhale_api/federation/urls.py +++ b/api/funkwhale_api/federation/urls.py @@ -4,7 +4,7 @@ from . import views router = routers.SimpleRouter(trailing_slash=False) router.register( - r'instance', + r'federation/instance', views.InstanceViewSet, 'instance') router.register( diff --git a/front/config/index.js b/front/config/index.js index 925b4defe3fb89ca4879702c7e3eb5b4cdfbbabf..669ce54f37dbfe912cf61dda75b7ccb6366c0824 100644 --- a/front/config/index.js +++ b/front/config/index.js @@ -34,7 +34,7 @@ module.exports = { changeOrigin: true, ws: true, filter: function (pathname, req) { - let proxified = ['.well-known', 'staticfiles', 'media', 'instance', 'api'] + let proxified = ['.well-known', 'staticfiles', 'media', 'federation', 'api'] let matches = proxified.filter(e => { return pathname.match(`^/${e}`) })