added matrix support
This commit is contained in:
parent
06bf69c167
commit
e77167bca4
1 changed files with 15 additions and 0 deletions
15
src/app/.well-known/matrix/client/route.ts
Normal file
15
src/app/.well-known/matrix/client/route.ts
Normal file
|
|
@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
});
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue