fixed health status
This commit is contained in:
@@ -183,6 +183,13 @@ def forward_request(method, url, headers, body):
|
||||
# ROUTES
|
||||
# ============================================================
|
||||
|
||||
@app.route("/healthz")
|
||||
def health():
|
||||
return {
|
||||
"status": "ok",
|
||||
"known_users": len(KNOWN_EXTERNAL_USERS)
|
||||
}
|
||||
|
||||
@app.route('/_matrix/client/v3/createRoom', methods=['POST'])
|
||||
def create_room():
|
||||
payload = request.get_json(silent=True) or {}
|
||||
|
||||
Reference in New Issue
Block a user