get_cors_config
get_cors_config
Get CORS configuration suitable for FastAPI’s CORSMiddleware.
Returns
dict[str, Any] — Dictionary with allow_origins, allow_credentials,
allow_methods, and allow_headers keys.
get_cors_config
Get CORS configuration suitable for FastAPI’s CORSMiddleware.
dict[str, Any] — Dictionary with allow_origins, allow_credentials,
allow_methods, and allow_headers keys.