fastapi 挂载静态文件夹
时间:2021-06-02 15:01:20
收藏:0
阅读:0
from fastapi.staticfiles import StaticFiles app.mount(path=‘/coronavirus/‘,app=StaticFiles(directory=‘ ./coronavirus/static‘, name=‘static‘))
评论(0)