Expand description
Default routes that scaffolded projects mount via with_defaults:
/ (homepage) and /docs (placeholder).
/admin is intentionally not registered here — it is owned by the
admin layer (see crate::admin::Admin::register). If no admin models
are registered, /admin is simply absent.
Functions§
- body_
limit - Reject requests whose
Content-LengthexceedsMAX_REQUEST_BODY_BYTESbefore any handler runs. - docs_
placeholder - homepage
- with_
defaults