diff --git a/src/main.rs b/src/main.rs index da179b6..8bb727b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -39,10 +39,12 @@ async fn main() -> std::io::Result<()> { web_base::map!(web_base::Site::new(), |app: actix_web::App<_>| { app.app_data(itemdb.clone()) .service(index) - .service(routes::item::supply_route) - .service(routes::item::item_variants_page) - .service(routes::item::get_items_route) - .service(routes::item::demand_route) + .service(routes::item::supply_route) // /supply + .service(routes::item::item_variants_page) // /item/{item_id}/variants + .service(routes::item::get_items_route) // /items + .service(routes::item::demand_route) // /demand + .service(routes::item::supply_log_route) // /item/{item_id}/{variant_id}/supply + .service(routes::item::demand_log_route) // /item/{item_id}/{variant_id}/demand }) .bind(("0.0.0.0".to_string(), 8080))? .run()