Matt Kane
Matt Kane
@Shackless does Vercel have background functions?
@Shackless Are these SvelteKit `+server.js` files or something else?
I think this is the source of the confusion. A `+server.ts` endpoint should work just fine on Netlify too, with access to `$env/dynamic/private` and so on. The difference is that...
OK, in that case that's an issue unrelated to this one, which isn't about endpoints. It certainly _should_ work. Could you open an issue on the SvelteKit repo?
My turn to bikeshed you. `getNameProps` is a bit of a confusing name to me. Would `getInputProps` work better?
Can I suggest we remove the fp plugin entirely. I think it's far too opinionated for a global config like this.
No objection here!
The Netlify error appears to be because the source image isn't sending a content-type header. The IPX handler is checking to see if it's an image before trying to resize...
I'm not sure. The fix would be to make it fail more gracefully on missing headers. A PR would be welcome for that
I had to fork it to add this. My fork hasn't been updated (I no longer use it in the background, as it was unreliable), but the commit in question...