generated from hjess/PythonTemplateProject
Compare commits
1 Commits
379f6a4273
...
https_shit
| Author | SHA1 | Date | |
|---|---|---|---|
| fa359f095d |
2
app.py
2
app.py
@@ -28,7 +28,7 @@ app.mount("/data", StaticFiles(directory="data"), name="data")
|
||||
|
||||
# Mount static files
|
||||
app.mount("/static", StaticFiles(directory="static"), name="static")
|
||||
app.add_middleware( HTTPSRedirectMiddleware )
|
||||
|
||||
|
||||
# Templates directory
|
||||
templates = Jinja2Templates(directory="templates")
|
||||
|
||||
Reference in New Issue
Block a user