feat: add full-stack API persistence and RBAC
This commit is contained in:
8
app/api/auth/bootstrap/route.ts
Normal file
8
app/api/auth/bootstrap/route.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { getBootstrapState } from "@/modules/core/server/auth";
|
||||
import { jsonSuccess } from "@/modules/core/server/api";
|
||||
|
||||
export async function GET(): Promise<Response> {
|
||||
const state = await getBootstrapState();
|
||||
return jsonSuccess("Bootstrap state loaded", state);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user