first scope added
This commit is contained in:
@@ -15,6 +15,7 @@ async fn main() -> std::io::Result<()> {
|
|||||||
App::new()
|
App::new()
|
||||||
.service(hello)
|
.service(hello)
|
||||||
.service(echo)
|
.service(echo)
|
||||||
|
.service(arrivals::init_arrivals_scope())
|
||||||
.app_data(web::Data::new(init_dbpool()))
|
.app_data(web::Data::new(init_dbpool()))
|
||||||
})
|
})
|
||||||
.bind(("localhost", 8080))?
|
.bind(("localhost", 8080))?
|
||||||
|
|||||||
Reference in New Issue
Block a user