templates2.Content.Nuxt/server/api/authors/index.get.ts
w4c-templates 940313f8c5
Some checks failed
CI / quality (push) Has been cancelled
chore(template): publish Content.Nuxt
2026-10-11 23:26:40 +03:00

6 lines
147 B
TypeScript

import { listAuthors } from '../../utils/content';
export default defineEventHandler(async () => {
return { authors: await listAuthors() };
});