tmpl-fastapi/app/main.py

13 lines
219 B
Python
Raw Normal View History

from fastapi import FastAPI
from fastapi.staticfiles import StaticFiles
#from .common import settings, templates
app = FastAPI()
app.mount(
'/static',
StaticFiles(directory='../static'),
name='static',
)