Closed kwhitley closed 2 years ago
SvelteKit provides a FormData...
https://kit.svelte.dev/docs/form-actions#anatomy-of-an-action
What do you get when you do:
const fd = await request.formData()
console.log(fd);
console.log(typeof fd);
console.log(fd.__prototype);
return { ...fd, FORM_DATA_TYPE: typeof fd, FULL_FD: fd };
Here's where they (theoretically) perform the polyfill.
There's where during dev they call 'installPolyfills'...
Weird, I don't see those issues in SK, lemme see if I can repro
@kwhitley What adapter are you using there?
Yeah if you're using the node adapter you'll need 18+
Environment: fetching through SvelteKit
+server.js
endpoints