mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-20 13:54:36 +01:00
Return version as html (#13960)
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user