blog/src/routes/(DefaultStyle)/post/+page.server.ts
2025-01-19 01:06:28 +09:00

9 lines
No EOL
160 B
TypeScript

import Metas from '$lib/server/Metadatas';
export async function load(){
const postList = await Metas()
let id = postList[0].postId
return {id}
}