first commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { NextResponse } from "next/server";
|
||||
import { getBackend } from "@/lib/backend";
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
// GET /api/bff/bootstrap — the initial client payload (me, workspace, users, channels).
|
||||
export async function GET() {
|
||||
return NextResponse.json(await getBackend().bootstrap());
|
||||
}
|
||||
Reference in New Issue
Block a user