diff --git a/backend/src/note/routes.rs b/backend/src/note/routes.rs index 90ba73c..bb8d82b 100644 --- a/backend/src/note/routes.rs +++ b/backend/src/note/routes.rs @@ -3,7 +3,6 @@ use serde::{Deserialize, Serialize}; use std::time::SystemTime; use crate::note::{generate_id, Note, NoteInfo, NotePublic}; -use crate::size::LIMIT; use crate::store; pub fn now() -> u32 { @@ -111,17 +110,6 @@ struct Status { max_size: usize, } -#[get("/status")] -async fn status() -> impl Responder { - println!("Limit: {}", *LIMIT); - return HttpResponse::Ok().json(Status { - version: option_env!("CARGO_PKG_VERSION") - .unwrap_or("Unknown") - .to_string(), - max_size: *LIMIT, - }); -} - pub fn service() -> Scope { web::scope("/notes") .service(one)