fix: restore 404 page

This commit is contained in:
iCrawl 2024-05-26 18:43:34 +02:00
parent a468ae8bb5
commit d22b55fc82
No known key found for this signature in database

View file

@ -31,5 +31,9 @@ export async function fetchNode({
{ next: isMainVersion ? { revalidate: 0 } : { revalidate: 604_800 } },
);
if (!fileContent.ok) {
return null;
}
return fileContent.json();
}