diff --git a/apps/nutriphi/apps/web/svelte.config.js b/apps/nutriphi/apps/web/svelte.config.js index a7a917e4c..ba4d67816 100644 --- a/apps/nutriphi/apps/web/svelte.config.js +++ b/apps/nutriphi/apps/web/svelte.config.js @@ -8,6 +8,12 @@ const config = { adapter: adapter({ out: 'build', }), + prerender: { + handleHttpError: ({ path, message }) => { + if (path === '/favicon.png') return; + throw new Error(message); + }, + }, }, }; diff --git a/apps/skilltree/apps/web/svelte.config.js b/apps/skilltree/apps/web/svelte.config.js index a7a917e4c..ba4d67816 100644 --- a/apps/skilltree/apps/web/svelte.config.js +++ b/apps/skilltree/apps/web/svelte.config.js @@ -8,6 +8,12 @@ const config = { adapter: adapter({ out: 'build', }), + prerender: { + handleHttpError: ({ path, message }) => { + if (path === '/favicon.png') return; + throw new Error(message); + }, + }, }, };