Sudipta Nayak
commited on
Commit
·
bc13748
1
Parent(s):
2d15367
issue fix-2
Browse files- app/main.py +2 -2
app/main.py
CHANGED
@@ -12,8 +12,8 @@ app = FastAPI(
|
|
12 |
title=settings.PROJECT_NAME, openapi_url=f"{settings.API_V1_STR}/openapi.json"
|
13 |
)
|
14 |
|
15 |
-
app.mount("/static", FileResponse, name="static")
|
16 |
-
templates = Jinja2Templates(directory="templates")
|
17 |
|
18 |
app.mount("/static", StaticFiles(directory="app/static"), name="static")
|
19 |
templates = Jinja2Templates(directory="app/templates")
|
|
|
12 |
title=settings.PROJECT_NAME, openapi_url=f"{settings.API_V1_STR}/openapi.json"
|
13 |
)
|
14 |
|
15 |
+
# app.mount("/static", FileResponse, name="static")
|
16 |
+
# templates = Jinja2Templates(directory="templates")
|
17 |
|
18 |
app.mount("/static", StaticFiles(directory="app/static"), name="static")
|
19 |
templates = Jinja2Templates(directory="app/templates")
|