.env
GCS credentials
- Inline JSON
- File path
- Default credentials
Recommended for deployment — a single line.
.env
Usage
In a route
Upload safety
LocalStorage serves files from static/, where the browser takes the content type from
the extension. Script-capable extensions are refused by default, so an uploaded page
cannot run on your origin.
Setting the block list replaces it. The allow-list wins over the block list, so
STORAGE_ALLOWED_EXTENSIONS is how you permit SVG when you genuinely need it.