Skip to content

Commit be83fa3

Browse files
Apply suggestion from @audreyfeldroy
Signed-off-by: Audrey M. Roy Greenfeld <audrey@feldroy.com>
1 parent d57d6b9 commit be83fa3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ static = HashedStatic("static")
1212
# Mount it however your framework mounts sub-apps:
1313
app.mount("/static", static)
1414

15-
# Wrap the app to rewrite static paths in HTML responses:
15+
# If you're using Starlette / FastAPI / Air, add the middleware to your app like this:
1616
app.add_middleware(StaticRewriteMiddleware, static=static)
1717
```
1818

0 commit comments

Comments
 (0)