mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
Return version as html
This commit is contained in:
parent
4c24b70d47
commit
c8d7d74cd8
@ -84,7 +84,7 @@ def go2rtc_camera_stream(camera_name: str):
|
|||||||
|
|
||||||
@router.get("/version")
|
@router.get("/version")
|
||||||
def version():
|
def version():
|
||||||
return VERSION
|
return JSONResponse(content=VERSION, media_type="text/html", status_code=200)
|
||||||
|
|
||||||
|
|
||||||
@router.get("/stats")
|
@router.get("/stats")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user