From 0957f219fba9f6a65e845db7d9474ee976053bcd Mon Sep 17 00:00:00 2001 From: Reimar Date: Tue, 17 Sep 2024 10:26:19 +0200 Subject: [PATCH] Increase file size limit to 30mb --- rust-backend/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-backend/src/main.rs b/rust-backend/src/main.rs index ba3e442..ef295e1 100644 --- a/rust-backend/src/main.rs +++ b/rust-backend/src/main.rs @@ -330,7 +330,7 @@ async fn main() -> std::io::Result<()> { .app_data(web::Data::new(AppData { database: conn.clone(), })) - .app_data(web::PayloadConfig::new(8_388_608)) + .app_data(web::PayloadConfig::new(30 * 1024 * 1024)) .service(healthcheck) .service(authorized) .service(favorites)