fix: add prerender entries to /year/slug to build properly

This commit is contained in:
Youwen Wu 2024-04-05 04:51:29 -07:00
parent 9b5fab47c1
commit 729210cac4
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -0,0 +1,5 @@
import type { EntryGenerator } from './$types';
export const entries: EntryGenerator = () => {
return [{ year: '2024', slug: 'test-post' }];
};