Yo! Supabase doesn’t handle Puppeteer’s file upload the same way as a browser form. Try this:
1. Save the PDF locally first.
2. Use `fs.readFileSync` to get the buffer.
3. Upload via Supabase JS client.
Bonus: If you’re dealing with large files, chunking might help. Let me know if you need the chunking code!
1. Save the PDF locally first.
2. Use `fs.readFileSync` to get the buffer.
3. Upload via Supabase JS client.
Bonus: If you’re dealing with large files, chunking might help. Let me know if you need the chunking code!
