You've already forked snikket-web-portal
Fix health check to declare itself text/plain and match Prosody
This commit is contained in:
@@ -165,5 +165,5 @@ async def avatar(from_: str, code: str) -> quart.Response:
|
||||
return response
|
||||
|
||||
@bp.route("/_health")
|
||||
async def health() -> str:
|
||||
return "OK"
|
||||
async def health() -> Response:
|
||||
return Response("STATUS OK", content_type="text/plain")
|
||||
|
||||
Reference in New Issue
Block a user