More nodeinfo endpoints

This commit is contained in:
Mouse Reeve
2020-02-15 11:40:21 -08:00
parent cea458acdd
commit 1e25c2f869
2 changed files with 32 additions and 3 deletions

View File

@ -20,7 +20,8 @@ urlpatterns = [
# .well-known endpoints
re_path(r'^.well-known/webfinger/?$', wellknown.webfinger),
re_path(r'^.well-known/nodeinfo/?$', wellknown.nodeinfo),
re_path(r'^.well-known/nodeinfo/?$', wellknown.nodeinfo_pointer),
re_path(r'^nodeinfo/2\.0/?$', wellknown.nodeinfo),
re_path(r'^api/v1/instance/?$', wellknown.instance_info),
# TODO: re_path(r'^.well-known/host-meta/?$', incoming.host_meta),