Update identifier.

This commit is contained in:
Benjamin A. Shelton 2026-07-07 15:33:28 -06:00
commit 2e098f7585
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -13,7 +13,7 @@ interface Props {
export async function getStaticPaths() { export async function getStaticPaths() {
const notes = await getCollection('notes'); const notes = await getCollection('notes');
return notes.map((note: CollectionEntry<'notes'>) => ({ return notes.map((note: CollectionEntry<'notes'>) => ({
params: { id: note.id }, params: { id: note.id.replace(/-/, '/') },
props: { note }, props: { note },
})); }));
} }