Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion node/rest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ impl<N: Network, C: ConsensusStorage<N>, R: Routing<N>> Rest<N, C, R> {
.layer(middleware::from_fn(log_middleware))
// Enable CORS.
.layer(cors)
// Cap body size at 512KiB.
// Cap the request body size at 512KiB.
.layer(DefaultBodyLimit::max(512 * 1024))
.layer(GovernorLayer {
// We can leak this because it is created only once and it persists.
Expand Down