From db009454c82deec7658b05f2b18c076d6d777235 Mon Sep 17 00:00:00 2001 From: neon_arch Date: Sun, 3 Sep 2023 21:03:58 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20refactor:=20change=20impor?= =?UTF-8?q?t=20path=20for=20search=20route=20(#207)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 97208be..f03751b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -84,7 +84,7 @@ pub fn run(listener: TcpListener, config: Config) -> std::io::Result { ) .service(router::robots_data) // robots.txt .service(router::index) // index page - .service(router::search) // search page + .service(server::routes::search::search) // search page .service(router::about) // about page .service(router::settings) // settings page .default_service(web::route().to(router::not_found)) // error page