Replace entire repo content with code from /root/shahikitchen-google/
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { NextResponse } from 'next/server';
|
||||
import { readMenuCategories } from '@/infrastructure/menu/menu-persistence';
|
||||
|
||||
export const dynamic = 'force-dynamic';
|
||||
|
||||
export async function GET() {
|
||||
const categories = await readMenuCategories();
|
||||
return NextResponse.json({ categories });
|
||||
}
|
||||
Reference in New Issue
Block a user