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()
.service(hello)
.service(echo)
.service(arrivals::init_arrivals_scope())
.app_data(web::Data::new(init_dbpool()))
})
.bind(("localhost", 8080))?