matrix shennanigan

This commit is contained in:
Sakooooo 2024-11-30 21:33:19 +04:00
parent f024ae9416
commit 6760c5eea7
Signed by: sako
GPG key ID: FE52FD65B76E4751
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,15 @@
export const prerender = false;
export async function GET() {
return new Response(
JSON.stringify({
"m.homeserver": { base_url: "https://matrix.sako.lol" },
}),
{
headers: {
"Content-Type": "application/json",
"Access-Control-Allow-Origin": "*",
},
}
);
}

View file

@ -0,0 +1,15 @@
export const prerender = false;
export async function GET() {
return new Response(
JSON.stringify({
"m.server": "matrix.sako.lol:443",
}),
{
headers: {
"Content-Type": "application/json",
"Access-Control-Allow-Origin": "*",
},
}
);
}