Skip to content

Commit 4e81a0e

Browse files
authored
docs: Fix syntax error in flask migration doc (#4061)
1 parent 1fad18f commit 4e81a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/migration/flask.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ in Litestar.
278278
from litestar import Litestar
279279
from litestar.static_files import create_static_files_router
280280
281-
app = Litestar route_handlers=[
281+
app = Litestar(route_handlers=[
282282
create_static_files_router(path="/static", directories=["assets"]),
283283
])
284284

0 commit comments

Comments
 (0)