add missing version numbers to /v1/about/about

This commit is contained in:
Yusur 2025-12-20 10:18:07 +01:00
parent 76ca5a8319
commit 005114efe2
2 changed files with 6 additions and 2 deletions

View file

@ -26,7 +26,7 @@ from suou import twocolon_list, WantsContentType
from .colors import color_themes, theme_classes from .colors import color_themes, theme_classes
__version__ = '0.5.0-dev49' __version__ = '0.5.0-dev50'
APP_BASE_DIR = os.path.dirname(os.path.dirname(__file__)) APP_BASE_DIR = os.path.dirname(os.path.dirname(__file__))

View file

@ -446,7 +446,11 @@ async def patch_settings_appearance(data: SettingsIn):
@bp.get('/about/about') @bp.get('/about/about')
async def about_about(): async def about_about():
return dict( return dict(
content=await render_template("about.md") content=await render_template("about.md",
quart_version=quart_version,
sa_version=sa_version,
python_version=sys.version.split()[0]
)
) )
@bp.get('/about/terms') @bp.get('/about/terms')