bump body limit lol
This commit is contained in:
parent
22f79bbdf1
commit
ee275f0fa5
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ async fn main() {
|
||||||
// build our application with a single route
|
// build our application with a single route
|
||||||
let app = Router::new()
|
let app = Router::new()
|
||||||
.route("/", post(upload_file))
|
.route("/", post(upload_file))
|
||||||
.layer(axum::extract::DefaultBodyLimit::max(5 * 1024 * 1024 * 1024));
|
.layer(axum::extract::DefaultBodyLimit::max(8 * 1024 * 1024 * 1024));
|
||||||
|
|
||||||
let upstream_runner = get_upstream_runner();
|
let upstream_runner = get_upstream_runner();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue