feat: better error handling

This commit is contained in:
Zomatree
2025-08-15 02:00:12 +01:00
parent ed22b3a5ce
commit 3d6f39a0eb
17 changed files with 335 additions and 54 deletions
+1
View File
@@ -135,6 +135,7 @@ pub async fn web() -> Rocket<Build> {
.manage(cors.clone())
.attach(util::ratelimiter::RatelimitFairing)
.attach(cors)
.register("/", util::catchers::all_catchers())
.configure(rocket::Config {
limits: rocket::data::Limits::default().limit("string", 5.megabytes()),
address: Ipv4Addr::new(0, 0, 0, 0).into(),