comms: serve register flows for guest UI

This commit is contained in:
Brad Stein 2026-01-07 19:09:13 -03:00
parent 695e1ec322
commit cd4b963db4
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ data:
if parsed.path in ("/healthz", "/"):
return self._send_json(200, {"ok": True})
if parsed.path in ("/_matrix/client/v3/register", "/_matrix/client/r0/register"):
return self._send_json(405, {"errcode": "M_UNRECOGNIZED", "error": "Unrecognized request"})
return self._send_json(200, {"flows": [{"stages": []}]})
return self._send_json(404, {"errcode": "M_NOT_FOUND", "error": "not_found"})
def do_POST(self): # noqa: N802

View File

@ -13,7 +13,7 @@ spec:
template:
metadata:
annotations:
checksum/config: guest-register-proxy-2
checksum/config: guest-register-proxy-3
labels:
app.kubernetes.io/name: matrix-guest-register
spec: