Fix navbar search form action

This commit is contained in:
Juno Takano 2026-01-06 17:54:29 -03:00
commit 36e2b5925c
2 changed files with 3 additions and 2 deletions

View file

@ -19,6 +19,7 @@ pub fn new(graph: &Graph) -> Router {
.post(handlers::navigation::search),
)
.route("/redirect", get(handlers::navigation::redirect))
.route("/search", get(handlers::navigation::search))
.route(
"/static/style.css",
get(|| handlers::fixed::file("./static/style.css", "text/css")),