lunasqu.ee-nuxt/server/api/blog/archive.ts

6 lines
142 B
TypeScript
Raw Normal View History

2022-10-16 09:37:13 +00:00
import { getArchiveTree } from '~~/lib/blog/read-posts';
export default defineEventHandler(async (event) => {
return getArchiveTree();
});