Remove useless configuration

This commit is contained in:
Pierre HUBERT 2023-09-05 13:23:32 +02:00
parent 036595fb24
commit 4b55e17ee0

View File

@ -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