☰
Debian Codegraph
@
2.24.0-1
/
/
docs
/
examples
/
static_files
/
upgrade_from_static_2.py
☽
☼
docs/examples/static_files/upgrade_from_static_2.py
code
plain
raw
Expat
Alc <
[email protected]
>,; Cody Fincher <
[email protected]
>,; Jacob Coffee <
[email protected]
>,; Janek Nouvertné <
[email protected]
>,; Litestar Developers <
[email protected]
>,; Peter Schutt <
[email protected]
>,; Visakh Unnikrishnan <
[email protected]
>,
debian/copyright
1
from litestar import Litestar
2
from litestar.static_files import create_static_files_router
3
4
app = Litestar(
5
route_handlers=[
6
create_static_files_router(directories=["assets"], path="/static"),
7
],
8
)