lunasqu.ee-nuxt/server/api/blog/archive.ts
2022-10-16 12:37:13 +03:00

6 lines
142 B
TypeScript

import { getArchiveTree } from '~~/lib/blog/read-posts';
export default defineEventHandler(async (event) => {
return getArchiveTree();
});