import { NextResponse } from 'next/server'
import { bd } from '@/lib/bd'

export async function GET() {
    const [rows] = await bd.query('SELECT * FROM faq ORDER BY id DESC')
    return NextResponse.json(rows)
}

