Search: use path for API URL
@@ -90,7 +90,7 @@ organization_urls = [
api_urls = [
re_path(r'^api/v2/', include('readthedocs.api.v2.urls')),
# Keep `search_api` at root level, so the test does not fail for other API
- re_path(r"^api/v2/search/$", include("readthedocs.search.api.v2.urls")),
+ path("api/v2/search/", include("readthedocs.search.api.v2.urls")),
# Deprecated
re_path(r'^api/v1/embed/', include('readthedocs.embed.urls')),
re_path(r'^api/v2/embed/', include('readthedocs.embed.urls')),
