mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-07 12:57:49 +00:00
sync
This commit is contained in:
@@ -51,7 +51,17 @@ const config = {
|
||||
$markdoc: './src/markdoc'
|
||||
},
|
||||
prerender: {
|
||||
concurrency: 32
|
||||
concurrency: 32,
|
||||
/**
|
||||
* @type {import('@sveltejs/kit').PrerenderMissingIdHandler}
|
||||
*/
|
||||
handleMissingId: ({ path, message }) => {
|
||||
if (path.startsWith('/docs/references/')) {
|
||||
console.warn(message);
|
||||
return;
|
||||
}
|
||||
throw new Error(message);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user