health check
This commit is contained in:
12
src/server/utils/templates.py
Normal file
12
src/server/utils/templates.py
Normal file
@@ -0,0 +1,12 @@
|
||||
"""
|
||||
Shared templates configuration for FastAPI application.
|
||||
|
||||
This module provides centralized Jinja2 template configuration.
|
||||
"""
|
||||
from pathlib import Path
|
||||
|
||||
from fastapi.templating import Jinja2Templates
|
||||
|
||||
# Configure templates - shared across controllers
|
||||
TEMPLATES_DIR = Path(__file__).parent.parent / "web" / "templates"
|
||||
templates = Jinja2Templates(directory=str(TEMPLATES_DIR))
|
||||
Reference in New Issue
Block a user