mirror of
https://github.com/discordjs/discord.js.git
synced 2024-07-08 02:31:18 +12:00
fix: restore 404 page
This commit is contained in:
parent
a468ae8bb5
commit
d22b55fc82
|
@ -31,5 +31,9 @@ export async function fetchNode({
|
|||
{ next: isMainVersion ? { revalidate: 0 } : { revalidate: 604_800 } },
|
||||
);
|
||||
|
||||
if (!fileContent.ok) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return fileContent.json();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue