Skip to content

Commit

Permalink
chore/nanocld: upgrade json payload limit
Browse files Browse the repository at this point in the history
  • Loading branch information
leon3s committed Oct 4, 2023
1 parent 232ca2f commit 1b6a1e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion bin/nanocld/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub async fn gen(
// Default logger middleware
.wrap(web::middleware::Logger::default())
// Set Json body max size
.state(web::types::JsonConfig::default().limit(4096))
.state(web::types::JsonConfig::default().limit(20_000_000))
.configure(services::ntex_config)
.default_service(web::route().to(services::unhandled))
});
Expand Down
1 change: 0 additions & 1 deletion examples/deploy_ssl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ Secrets:
Ug0MvH79P7CUpecFPJliDME=
-----END PRIVATE KEY-----
# See all options:
# https://docs.next-hat.com/references/nanocl/resource
Resources:
Expand Down

0 comments on commit 1b6a1e7

Please sign in to comment.