mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-03 01:28:39 +08:00
5 lines
187 B
Python
5 lines
187 B
Python
|
from starlette.applications import Starlette
|
||
|
from starlette.staticfiles import StaticFiles
|
||
|
|
||
|
app = Starlette()
|
||
|
app.mount("/images", StaticFiles(directory="/websoft9/media"), name="images")
|