🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

This commit is contained in:
pre-commit-ci[bot] 2024-04-15 11:44:15 +00:00
parent 89d6a089ae
commit ba3d6938e1
1 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,9 @@ from fastapi.middleware.trustedhost import TrustedHostMiddleware
app = FastAPI()
app.add_middleware(
TrustedHostMiddleware, allowed_hosts=["example.com", "*.example.com"], www_redirect=True
TrustedHostMiddleware,
allowed_hosts=["example.com", "*.example.com"],
www_redirect=True,
)