diff --git a/json-api/src/main.rs b/json-api/src/main.rs index a0c6e8c..fb70cc4 100644 --- a/json-api/src/main.rs +++ b/json-api/src/main.rs @@ -64,7 +64,7 @@ async fn route_dispatcher( const GET: &Method = &Method::GET; const POST: &Method = &Method::POST; const DELETE: &Method = &Method::DELETE; - println!("[INFO] {}: {}", meth, path); + println!("[HTTP] {}: {}", meth, path); match (meth, path) { /* INVITES */ (POST, routes::INVITE_CREATE) => invites::create(pool, resp, params).await, @@ -89,7 +89,7 @@ async fn route_dispatcher( /* META ROUTE */ (GET, routes::META) => meta::server_meta(resp).await, _ => { - println!("[INFO]\tNOT FOUND: {}: {}", meth, path); + println!("[HTTP]\tNOT FOUND: {}: {}", meth, path); *resp.status_mut() = StatusCode::NOT_FOUND } } @@ -117,10 +117,10 @@ async fn main_responder(request: Request
) -> Result