generated from hjess/PythonTemplateProject
Lets test
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 28s
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 28s
This commit is contained in:
2
app.py
2
app.py
@@ -13,7 +13,7 @@ app = FastAPI()
|
|||||||
|
|
||||||
# Mount static files
|
# Mount static files
|
||||||
app.mount("/static", StaticFiles(directory="static"), name="static")
|
app.mount("/static", StaticFiles(directory="static"), name="static")
|
||||||
app.add_middleware( HTTPSRedirectMiddleware )
|
#app.add_middleware( HTTPSRedirectMiddleware )
|
||||||
|
|
||||||
# Templates directory
|
# Templates directory
|
||||||
templates = Jinja2Templates(directory="templates")
|
templates = Jinja2Templates(directory="templates")
|
||||||
|
|||||||
Reference in New Issue
Block a user