diff --git a/requirements.txt b/requirements.txt index de7db69d..9b2dee4c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ canonicalwebteam.flask-base==1.1.0 canonicalwebteam.discourse==5.6.1 -canonicalwebteam.search==1.3.0 +canonicalwebteam.search==2.1.0 diff --git a/webapp/app.py b/webapp/app.py index df1ea5eb..91a650b9 100644 --- a/webapp/app.py +++ b/webapp/app.py @@ -43,9 +43,11 @@ "/docs/search", "docs-search", build_search_view( + app=app, session=session, site="https://dqlite.io/docs", template_path="docs/search.html", + request_limit="1/day" ), )