sanic/examples/static_assets.py
Adam Hopkins 8c07e388cd
LTS v21.12 Deprecations (#2306)
Co-authored-by: Néstor Pérez <25409753+prryplatypus@users.noreply.github.com>
2021-12-24 00:30:27 +02:00

7 lines
78 B
Python

from sanic import Sanic
app = Sanic("Example")
app.static("/", "./static")