0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 14:08:23 -05:00

⚙️ refactor: change import path for search route (#207)

This commit is contained in:
neon_arch 2023-09-03 21:03:58 +03:00
parent 493c56bd02
commit db009454c8

View File

@ -84,7 +84,7 @@ pub fn run(listener: TcpListener, config: Config) -> std::io::Result<Server> {
) )
.service(router::robots_data) // robots.txt .service(router::robots_data) // robots.txt
.service(router::index) // index page .service(router::index) // index page
.service(router::search) // search page .service(server::routes::search::search) // search page
.service(router::about) // about page .service(router::about) // about page
.service(router::settings) // settings page .service(router::settings) // settings page
.default_service(web::route().to(router::not_found)) // error page .default_service(web::route().to(router::not_found)) // error page