How to upload files to Cloudflare R2 in SvelteKit

Blog post: https://www.okupter.com/blog/upload-files-cloudflare-r2-in-sveltekit

Demo website: https://cloudflare-r2-sveltekit.vercel.app