-
Notifications
You must be signed in to change notification settings - Fork 0
Static Files
Betrand edited this page Feb 26, 2026
·
1 revision
If the static folder exists, files are served automatically.
Default
project/
static/
styles.css
Use it in HTML:
<link rel="stylesheet" href="/static/styles.css">Custom Folder and URL
app = Mallo(__name__, static_folder="assets", static_url_path="/assets")Then:
<link rel="stylesheet" href="/assets/styles.css">