how would one handle uploading files to R2 from a next.js server action?

how would one handle uploading files to R2 from a next.js server action?
Was this page helpful?