Return version as html (#13960)

This commit is contained in:
Nicolas Mowen 2024-09-25 10:06:17 -06:00 committed by GitHub
parent 25819584bd
commit 45aceea53b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,7 +84,7 @@ def go2rtc_camera_stream(camera_name: str):
@router.get("/version")
def version():
return VERSION
return JSONResponse(content=VERSION, media_type="text/html", status_code=200)
@router.get("/stats")