fix: should not error when fetch fails
Some checks failed
Deploy to SFTP Server / build (push) Failing after 6m44s
Some checks failed
Deploy to SFTP Server / build (push) Failing after 6m44s
This commit is contained in:
@@ -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$/, ""),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user