I hate that guy
This commit is contained in:
@@ -13,7 +13,6 @@ async fn main() -> std::io::Result<()> {
|
|||||||
let (port, address) = init_address();
|
let (port, address) = init_address();
|
||||||
HttpServer::new(|| {
|
HttpServer::new(|| {
|
||||||
App::new()
|
App::new()
|
||||||
.service(hello)
|
|
||||||
.service(echo)
|
.service(echo)
|
||||||
.service(arrivals::init_arrivals_scope())
|
.service(arrivals::init_arrivals_scope())
|
||||||
.app_data(web::Data::new(init_dbpool()))
|
.app_data(web::Data::new(init_dbpool()))
|
||||||
|
|||||||
Reference in New Issue
Block a user