From e77167bca45c5753e0096a2a7179d59cd6e05b8b Mon Sep 17 00:00:00 2001 From: anonymousratwastaken <108170934+anonymousratwastaken@users.noreply.github.com> Date: Sat, 31 Jan 2026 13:17:02 +0000 Subject: [PATCH] added matrix support --- src/app/.well-known/matrix/client/route.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/app/.well-known/matrix/client/route.ts diff --git a/src/app/.well-known/matrix/client/route.ts b/src/app/.well-known/matrix/client/route.ts new file mode 100644 index 0000000..d311531 --- /dev/null +++ b/src/app/.well-known/matrix/client/route.ts @@ -0,0 +1,15 @@ +import { NextResponse } from "next/server"; + +export function GET() { + return NextResponse.json({ + "m.homeserver": { + "base_url": "https://chat.frg.network" + }, + "org.matrix.msc4143.rtc_foci": [ + { + "type": "livekit", + "livekit_service_url": "https://livekit.element.io" + } + ] + }); +}