Merge pull request #1401 from bookwyrm-social/opensearch

Adds opensearch xml file
This commit is contained in:
Mouse Reeve
2021-09-27 19:48:53 -07:00
committed by GitHub
4 changed files with 31 additions and 1 deletions

View File

@ -43,6 +43,7 @@ urlpatterns = [
re_path(r"^nodeinfo/2\.0/?$", views.nodeinfo),
re_path(r"^api/v1/instance/?$", views.instance_info),
re_path(r"^api/v1/instance/peers/?$", views.peers),
re_path(r"^opensearch.xml$", views.opensearch, name="opensearch"),
# polling updates
re_path("^api/updates/notifications/?$", views.get_notification_count),
re_path("^api/updates/stream/(?P<stream>[a-z]+)/?$", views.get_unread_status_count),