
send_email bindings with Pages/Functions.wrangler pages dev -e dev -- vite dev (proxy mode). Unfortunately it seems that a Location header doesn't make it all the way back to my browser but instead wrangler/workerd/mf is following the redirect internally. Is there a way to enable this passthrough? I saw the attached note but not sure if that's the same thing. Strangely, it seems that other SvelteKit headers are passed through, i.e X-Sveltekit-Page, but Location isn't.
node_compat build you need for most (all?) drivers that work with Hyperdrive todaynode:fs library as of right now. is there any alternative that can work on Functions?prince lib which calls the CLI to generate PDFs from HTML?prince should work on PagesNeither of these can run nodethis refers to functions and workers, right?
node_compatnode:fsprinceprince...
writeFileSync(`dist/${target}.html`, finalHtml);
await prince()
.license('./prince-license.xml')
.inputs(`dist/${target}.html`)
.output('dist/output.pdf')
.execute();
return new Response(readFileSync('dist/output.pdf'), {
...