From 844f0f2513da11cf4e10eb780c43a7cc171f1997 Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 21 Mar 2026 15:52:49 -0400 Subject: [PATCH] handle max car size --- shared/challenges_markdown/three/part_two.md | 12 +++++++++++- web/src/main.rs | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/shared/challenges_markdown/three/part_two.md b/shared/challenges_markdown/three/part_two.md index 1d2ffaa..9394605 100644 --- a/shared/challenges_markdown/three/part_two.md +++ b/shared/challenges_markdown/three/part_two.md @@ -11,9 +11,19 @@ any valid DID will do for the commit (TODO: we're not checking the signature, right? are we checking CID?) -
+
+ + diff --git a/web/src/main.rs b/web/src/main.rs index f85dee9..be3a5c8 100644 --- a/web/src/main.rs +++ b/web/src/main.rs @@ -288,7 +288,7 @@ async fn main() -> Result<(), Box> { ) .route( "/day/3/upload-car", - post(handlers::custom::day_three::inspect_car), + post(handlers::custom::day_three::inspect_car) // 2MB max for default axum ) .route( "/day/5/{user_did}", -- 2.51.2