mirror of
https://github.com/shiroyashik/sculptor.git
synced 2025-12-06 13:01:12 +03:00
Pre-patch 0.2.1 limitations fixed
- Added DefaultBodyLimit control
This commit is contained in:
parent
17cb9bac77
commit
83533919f3
4 changed files with 15 additions and 15 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue