diff --git a/apps/chat/apps/web/svelte.config.js b/apps/chat/apps/web/svelte.config.js index 4ed1e3b74..f290ef5a6 100644 --- a/apps/chat/apps/web/svelte.config.js +++ b/apps/chat/apps/web/svelte.config.js @@ -9,6 +9,12 @@ const config = { adapter: adapter({ out: 'build', }), + prerender: { + handleHttpError: ({ path, message }) => { + if (path === '/favicon.png') return; + throw new Error(message); + }, + }, }, }; diff --git a/apps/clock/apps/web/svelte.config.js b/apps/clock/apps/web/svelte.config.js index 4ed1e3b74..f290ef5a6 100644 --- a/apps/clock/apps/web/svelte.config.js +++ b/apps/clock/apps/web/svelte.config.js @@ -9,6 +9,12 @@ const config = { adapter: adapter({ out: 'build', }), + prerender: { + handleHttpError: ({ path, message }) => { + if (path === '/favicon.png') return; + throw new Error(message); + }, + }, }, }; diff --git a/apps/context/apps/web/svelte.config.js b/apps/context/apps/web/svelte.config.js index 4ed1e3b74..f290ef5a6 100644 --- a/apps/context/apps/web/svelte.config.js +++ b/apps/context/apps/web/svelte.config.js @@ -9,6 +9,12 @@ const config = { adapter: adapter({ out: 'build', }), + prerender: { + handleHttpError: ({ path, message }) => { + if (path === '/favicon.png') return; + throw new Error(message); + }, + }, }, }; diff --git a/apps/planta/apps/web/svelte.config.js b/apps/planta/apps/web/svelte.config.js index c8b303bb6..82f308801 100644 --- a/apps/planta/apps/web/svelte.config.js +++ b/apps/planta/apps/web/svelte.config.js @@ -6,6 +6,12 @@ const config = { preprocess: vitePreprocess(), kit: { adapter: adapter(), + prerender: { + handleHttpError: ({ path, message }) => { + if (path === '/favicon.png') return; + throw new Error(message); + }, + }, }, };