|
@@ -65,6 +65,7 @@ async fn main() -> std::io::Result<()> {
|
|
|
.app_data(web::Data::new(pool.clone()))
|
|
.app_data(web::Data::new(pool.clone()))
|
|
|
.configure(routes::user::config)
|
|
.configure(routes::user::config)
|
|
|
.configure(routes::webhook::config)
|
|
.configure(routes::webhook::config)
|
|
|
|
|
+ .configure(routes::game::config)
|
|
|
})
|
|
})
|
|
|
.bind(("0.0.0.0", port))
|
|
.bind(("0.0.0.0", port))
|
|
|
.expect("Failed to bind to port")
|
|
.expect("Failed to bind to port")
|