M3: server core API (E-3 to E-30, E-33), landing page, pictures, rate limiting, recurring generation, bootstrap and pair-device

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-17 22:00:58 +02:00
parent 6dce4c73a9
commit 7869ec48d8
38 changed files with 7623 additions and 141 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ pub fn router(state: AppState) -> Router {
.merge(authenticated)
.fallback(fallback)
.layer(DefaultBodyLimit::max(BODY_LIMIT_BYTES))
.layer(rate_limit::layer()) // M3: the rate limiter of SPEC §8.6 attaches here (src/api/rate_limit.rs).
.layer(rate_limit::layer(&state)) // M3: the rate limiter of SPEC §8.6 attaches here (src/api/rate_limit.rs).
.layer(middleware::from_fn(log_request))
.layer(middleware::map_response(add_server_version))
.with_state(state)