UNPKG

alinea

Version:
9 lines (6 loc) 231 B
import {createHandler} from 'alinea/next' import {cms} from '@/cms' // This handler will respond to API request of the dashboard const handler = createHandler({cms}) export const GET = handler export const POST = handler