Pre-patch 0.2.1 limitations fixed

- Added DefaultBodyLimit control
This commit is contained in:
Shiroyasha 2024-06-08 22:26:44 +03:00
parent 17cb9bac77
commit 83533919f3
Signed by: shiroyashik
GPG key ID: E4953D3940D7860A
4 changed files with 15 additions and 15 deletions

View file

@ -3,12 +3,6 @@ use serde_json::{json, Value};
use crate::AppState;
/// Assert health of the server
/// If times out, the server is considered dead, so we can return basically anything
pub async fn health_check() -> String {
"ok".to_string()
}
pub async fn version() -> Json<Value> {
Json(json!({
"release": "0.1.4",