diff --git a/cmsmanage/views.py b/cmsmanage/views.py index 9b8c4be..5170432 100644 --- a/cmsmanage/views.py +++ b/cmsmanage/views.py @@ -88,5 +88,5 @@ def healthcheck(request: HttpRequest): return HttpResponse( ("OK: " if all_ok else "CRITICAL: ") + "\n".join(messages), content_type="text/plain", - status=200 if all_ok else 500, + headers={"X-CMSManage-Status": "OK"}, )