From 4b55e17ee0ed3dbe1cab1394b0785094b9e12099 Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Tue, 5 Sep 2023 13:23:32 +0200 Subject: [PATCH] Remove useless configuration --- virtweb_backend/src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/virtweb_backend/src/main.rs b/virtweb_backend/src/main.rs index b2966c3..8fc11c5 100644 --- a/virtweb_backend/src/main.rs +++ b/virtweb_backend/src/main.rs @@ -70,7 +70,6 @@ async fn main() -> std::io::Result<()> { proxy: AppConfig::get().proxy_ip.clone(), })) // Uploaded files - .app_data(web::PayloadConfig::new(constants::ISO_MAX_SIZE)) .app_data(MultipartFormConfig::default().total_limit(constants::ISO_MAX_SIZE)) .app_data(TempFileConfig::default().directory(&AppConfig::get().temp_dir)) // Server controller