From 45aceea53bcdaa31dcd42513af00606cd709c616 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 25 Sep 2024 10:06:17 -0600 Subject: [PATCH] Return version as html (#13960) --- 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")