diff --git a/src/main.rs b/src/main.rs index 9589e43..6226247 100644 --- a/src/main.rs +++ b/src/main.rs @@ -89,7 +89,7 @@ async fn main() -> Result<(), ClassifyError> { web::resource("/api/v1/classify_client/") .route(web::get().to(classify::classify_client)), ) - .service(web::resource("/v1/country").route(web::get().to(country::get_country))) + .service(web::resource("/v1/country").route(web::route().to(country::get_country))) // Dockerflow Endpoints .service( web::resource("/__lbheartbeat__").route(web::get().to(dockerflow::lbheartbeat)),