ai_api / src /app /api /init /route.ts
Yogesh
initial deploy
cd8bd0a
Raw
History Blame Contribute Delete
259 Bytes
import { ensureCloudSyncInitialized } from "@/lib/initCloudSync";
// This API route is called automatically to initialize sync
export async function GET() {
const initialized = await ensureCloudSyncInitialized();
return Response.json({ initialized });
}