diff --git a/src/main.rs b/src/main.rs index 71027cb..2b9e70a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -217,7 +217,7 @@ async fn main() -> std::io::Result<()> { let upload_max_bytes: usize = env::var("UPLOAD_MAX_BYTES") .ok() .and_then(|variable| variable.parse().ok()) - .unwrap_or(8_388_608); + .unwrap_or(8 * 1024 * 1024); let bind_address = env::var("BIND_ADDRESS").unwrap_or_else(|_| "0.0.0.0:8000".to_owned()); HttpServer::new({