v0.34.16
This commit is contained in:
1 parent
f27fbf6a30
commit
2c03fcf248
18 files changed
+430
-920
No files matched your search
+1
-1
@@ -285,7 +285,7 @@ pub fn router(state: Arc<App>) -> Router {
|
||||
.route("/api/metrics/summary", get(metrics_summary))
|
||||
.fallback(|| async { reject(StatusCode::NOT_FOUND, "not_found") })
|
||||
.layer(DefaultBodyLimit::max(
|
||||
crate::config::MAX_CONFIG_BYTES + 1024,
|
||||
crate::config::MAX_CONFIG_BYTES + 65_536,
|
||||
))
|
||||
.layer(middleware::from_fn_with_state(state.clone(), guard))
|
||||
.layer(middleware::from_fn_with_state(state.clone(), observe_admin))
|
||||
|
||||
Reference in new issue
Block a user