Skip to content

Commit 018ac13

Browse files
authored
Search: use path for API URL (#9646)
1 parent a09bc1a commit 018ac13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
api_urls = [
9191
re_path(r'^api/v2/', include('readthedocs.api.v2.urls')),
9292
# Keep `search_api` at root level, so the test does not fail for other API
93-
re_path(r"^api/v2/search/$", include("readthedocs.search.api.v2.urls")),
93+
path("api/v2/search/", include("readthedocs.search.api.v2.urls")),
9494
# Deprecated
9595
re_path(r'^api/v1/embed/', include('readthedocs.embed.urls')),
9696
re_path(r'^api/v2/embed/', include('readthedocs.embed.urls')),

0 commit comments

Comments
 (0)