2022-08-28 15:58:23 +08:00
|
|
|
import os
|
|
|
|
from fastapi import FastAPI
|
|
|
|
from fastapi.templating import Jinja2Templates
|
2022-08-28 13:02:29 +08:00
|
|
|
|
2022-08-28 15:58:23 +08:00
|
|
|
app = FastAPI()
|
|
|
|
jinja = Jinja2Templates(os.path.join(os.path.dirname(__file__), "templates"))
|