Skip to content

Commit

Permalink
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jun 26, 2023
1 parent c54b006 commit fa9421b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/zh/docs/advanced/middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ app.add_middleware(UnicornMiddleware, some_config="rainbow")
!!! note "技术细节"

以下几个示例中也可以使用 `from starlette.middleware.something import SomethingMiddleware`。

**FastAPI** 在 `fastapi.middleware` 中提供的中间件只是为了方便开发者使用,但绝大多数可用的中间件都直接继承自 Starlette。

## `HTTPSRedirectMiddleware`
Expand Down

0 comments on commit fa9421b

Please sign in to comment.