mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-26 13:47:03 +02:00
Return version as html (#13960)
This commit is contained in:
parent
25819584bd
commit
45aceea53b
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user