Sudipta Nayak
commited on
Commit
·
5152137
1
Parent(s):
4242202
Code changes
Browse files- app/main.py +0 -3
app/main.py
CHANGED
@@ -16,9 +16,6 @@ app = FastAPI(
|
|
16 |
title=settings.PROJECT_NAME, openapi_url=f"{settings.API_V1_STR}/openapi.json"
|
17 |
)
|
18 |
|
19 |
-
# app.mount("/static", FileResponse, name="static")
|
20 |
-
# templates = Jinja2Templates(directory="templates")
|
21 |
-
|
22 |
app.mount("/static", StaticFiles(directory="app/static"), name="static")
|
23 |
templates = Jinja2Templates(directory="app/templates")
|
24 |
|
|
|
16 |
title=settings.PROJECT_NAME, openapi_url=f"{settings.API_V1_STR}/openapi.json"
|
17 |
)
|
18 |
|
|
|
|
|
|
|
19 |
app.mount("/static", StaticFiles(directory="app/static"), name="static")
|
20 |
templates = Jinja2Templates(directory="app/templates")
|
21 |
|