Add app version display to login page and profile About card
Version is set via APP_VERSION in .env, defaulting to 1.0.0. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,3 +3,4 @@ from fastapi.templating import Jinja2Templates
|
||||
|
||||
templates = Jinja2Templates(directory="app/templates")
|
||||
templates.env.globals["admin_email"] = os.getenv("ADMIN_EMAIL", "")
|
||||
templates.env.globals["app_version"] = os.getenv("APP_VERSION", "1.0.0")
|
||||
|
||||
Reference in New Issue
Block a user