fix: should not error when fetch fails
Some checks failed
Deploy to SFTP Server / build (push) Failing after 6m44s

This commit is contained in:
Max Richter
2025-10-24 14:01:35 +02:00
parent f52da7f3aa
commit 5c1df62fd2

View File

@@ -18,7 +18,7 @@ export async function getStaticPaths() {
return { return {
params: { params: {
resourceType: resourceType.id, resourceType: resourceType.id,
resourceName: res.name.replace(/\.md$/, ""), resourceName: res?.name?.replace(/\.md$/, ""),
}, },
}; };
}); });