first scope added

This commit is contained in:
LinlyBoi
2023-12-17 23:27:08 +02:00
parent 7d0637d5dd
commit a7935b111e

View File

@@ -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))?