From a5619af200df552512b8030757384ad21e5a758c Mon Sep 17 00:00:00 2001 From: Pete Date: Thu, 19 Sep 2024 08:24:38 +0200 Subject: [PATCH] chore: Upgrade canonicalwebteam.search to 2.1.0 --- requirements.txt | 2 +- webapp/app.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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" ), )