comms: serve register flows for guest UI
This commit is contained in:
parent
695e1ec322
commit
cd4b963db4
@ -76,7 +76,7 @@ data:
|
|||||||
if parsed.path in ("/healthz", "/"):
|
if parsed.path in ("/healthz", "/"):
|
||||||
return self._send_json(200, {"ok": True})
|
return self._send_json(200, {"ok": True})
|
||||||
if parsed.path in ("/_matrix/client/v3/register", "/_matrix/client/r0/register"):
|
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"})
|
return self._send_json(404, {"errcode": "M_NOT_FOUND", "error": "not_found"})
|
||||||
|
|
||||||
def do_POST(self): # noqa: N802
|
def do_POST(self): # noqa: N802
|
||||||
|
|||||||
@ -13,7 +13,7 @@ spec:
|
|||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
checksum/config: guest-register-proxy-2
|
checksum/config: guest-register-proxy-3
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: matrix-guest-register
|
app.kubernetes.io/name: matrix-guest-register
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user