Spaces:
Runtime error
Runtime error
neon_arch
commited on
Commit
•
db00945
1
Parent(s):
493c56b
⚙️ refactor: change import path for search route (#207)
Browse files- src/lib.rs +1 -1
src/lib.rs
CHANGED
@@ -84,7 +84,7 @@ pub fn run(listener: TcpListener, config: Config) -> std::io::Result<Server> {
|
|
84 |
)
|
85 |
.service(router::robots_data) // robots.txt
|
86 |
.service(router::index) // index page
|
87 |
-
.service(
|
88 |
.service(router::about) // about page
|
89 |
.service(router::settings) // settings page
|
90 |
.default_service(web::route().to(router::not_found)) // error page
|
|
|
84 |
)
|
85 |
.service(router::robots_data) // robots.txt
|
86 |
.service(router::index) // index page
|
87 |
+
.service(server::routes::search::search) // search page
|
88 |
.service(router::about) // about page
|
89 |
.service(router::settings) // settings page
|
90 |
.default_service(web::route().to(router::not_found)) // error page
|