SvelteKit loads favicon every page request

Viewed 1104

Does anybody have the same problem with SvelteKit? Why does it load the favicon on every page request? see attachment

1 Answers

I don't have this issue with favicon. I'm setting favicon in top most __layout.svelte via <svelte:head> like this:

<svelte:head>
  <link rel="icon" type="image/svg" href={icon-path} />
</svelte:head>
Related