Skip to content

NVR with realtime local object detection for IP cameras

Return version as html (#13960)

Nicolas Mowen45aceea53bcd
diff --git a/frigate/api/app.py b/frigate/api/app.py
index 7bf65b9b00..6b6a232fe9 100644
--- a/frigate/api/app.py
+++ b/frigate/api/app.py
@@ -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")