From b6cc79291b94cb82385238eb6bdccd954187a235 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sat, 25 Nov 2023 19:58:58 +0000 Subject: [PATCH] Move article link route to --- web_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_view.py b/web_view.py index edf57b6..3eb3049 100755 --- a/web_view.py +++ b/web_view.py @@ -257,7 +257,7 @@ def get_best_hit(title: str, hits: list[Hit]) -> tuple[Hit, dict[str, typing.Any raise NoGoodHit -@app.route("/", methods=["GET", "POST"]) +@app.route("/link/", methods=["GET", "POST"]) def article_page(url_title: str) -> str | Response: """Article page.""" from_title = url_title.replace("_", " ").strip()