Increase file size limit to 30mb

This commit is contained in:
Reimar 2024-09-17 10:26:19 +02:00
parent c58daeb586
commit 0957f219fb
Signed by: Reimar
GPG Key ID: 93549FA07F0AE268

View File

@ -330,7 +330,7 @@ async fn main() -> std::io::Result<()> {
.app_data(web::Data::new(AppData { .app_data(web::Data::new(AppData {
database: conn.clone(), database: conn.clone(),
})) }))
.app_data(web::PayloadConfig::new(8_388_608)) .app_data(web::PayloadConfig::new(30 * 1024 * 1024))
.service(healthcheck) .service(healthcheck)
.service(authorized) .service(authorized)
.service(favorites) .service(favorites)