🩹 increase form limit

This commit is contained in:
JMARyA 2025-03-12 04:38:03 +01:00
parent 71fa998861
commit bae3bedcc1
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -4,6 +4,7 @@ use based::get_pg;
use based::ui::components::prelude::Shell;
use based::ui::prelude::*;
use config::Config;
use rocket::data::ToByteUnit;
use rocket::routes;
pub mod config;
@ -34,6 +35,10 @@ async fn launch() -> _ {
.use_ui();
rocket::build()
.configure(rocket::Config {
limits: rocket::data::Limits::new().limit("form", 10.gigabytes()),
..Default::default()
})
.mount_assets()
.mount("/", routes![
routes::index_page,