From c8d7d74cd8367f94dd862b2f0d52089f0df523ce Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 25 Sep 2024 09:58:46 -0600 Subject: [PATCH] Return version as html --- frigate/api/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/api/app.py b/frigate/api/app.py index 7bf65b9b0..6b6a232fe 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")