fix the things

This commit is contained in:
2026-02-13 00:59:04 +01:00
parent fc10a50fbd
commit d241feb0e9

View File

@@ -15,5 +15,5 @@ export const GET = async (req: Request) => {
export const getStaticPaths = async () => {
const posts = await readDir("data/posts/");
return posts.map((p) => "/news/" + p.slice(0, -3) + "/");
return posts.map((p) => "/posts/" + p.slice(0, -3) + "/");
};