Remove useless configuration
This commit is contained in:
parent
036595fb24
commit
4b55e17ee0
@ -70,7 +70,6 @@ async fn main() -> std::io::Result<()> {
|
|||||||
proxy: AppConfig::get().proxy_ip.clone(),
|
proxy: AppConfig::get().proxy_ip.clone(),
|
||||||
}))
|
}))
|
||||||
// Uploaded files
|
// Uploaded files
|
||||||
.app_data(web::PayloadConfig::new(constants::ISO_MAX_SIZE))
|
|
||||||
.app_data(MultipartFormConfig::default().total_limit(constants::ISO_MAX_SIZE))
|
.app_data(MultipartFormConfig::default().total_limit(constants::ISO_MAX_SIZE))
|
||||||
.app_data(TempFileConfig::default().directory(&AppConfig::get().temp_dir))
|
.app_data(TempFileConfig::default().directory(&AppConfig::get().temp_dir))
|
||||||
// Server controller
|
// Server controller
|
||||||
|
Loading…
Reference in New Issue
Block a user