mirror of https://github.com/encode/starlette.git
Black formatting
This commit is contained in:
parent
4f80753cf7
commit
b5a8d614f4
|
@ -20,13 +20,11 @@ def staticfiles(scope):
|
|||
|
||||
app = Router(
|
||||
[
|
||||
Path("/", app=homepage, methods=['GET']),
|
||||
Path("/", app=homepage, methods=["GET"]),
|
||||
PathPrefix(
|
||||
"/users", app=Router([Path("", app=users), Path("/{username}", app=user)])
|
||||
),
|
||||
PathPrefix(
|
||||
"/static", app=staticfiles, methods=['GET']
|
||||
),
|
||||
PathPrefix("/static", app=staticfiles, methods=["GET"]),
|
||||
]
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue