I want to use the /.netlify/images endpoint, but for some reason, my netlify hosted website shows my Sveltekit 404 page instead of the netlify 404 page.
Just to be clear: focus on the 404 page, and what is handling it. You can see if netlify handles it (which means the endpoint is called) or sveltekit (which means it’s not called).
I’m still a bit surprised by how this difference can happen. In both the github build, as well as the local build, I use the @sveltejs/adapter-netlify, so I’m still surprised to see a different result in both. Are you saying that the adapter is only used in the github pipeline? The weird thing is both use pnpm build.