9 lines
272 B
TypeScript
9 lines
272 B
TypeScript
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);
|
|
}
|
|
|