FastAPI - Middleware and Hooks
You want to allow requests from any subdomain of
example.com and also from localhost. Which allowed_hosts list correctly configures TrustedHostMiddleware for this?