Increase file size limit to 30mb
This commit is contained in:
parent
c58daeb586
commit
0957f219fb
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user