forked from Rockachopa/Timmy-time-dashboard
Audit cleanup: security fixes, code reduction, test hygiene (#131)
This commit is contained in:
committed by
GitHub
parent
e8f1dea3ec
commit
aff3edb06a
7
src/dashboard/templating.py
Normal file
7
src/dashboard/templating.py
Normal file
@@ -0,0 +1,7 @@
|
||||
"""Shared Jinja2Templates instance for all dashboard routes."""
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from fastapi.templating import Jinja2Templates
|
||||
|
||||
templates = Jinja2Templates(directory=str(Path(__file__).parent / "templates"))
|
||||
Reference in New Issue
Block a user