DEV Community

Cover image for Testing DotShare Cloudflare Image Upload
freerave
freerave

Posted on

Testing DotShare Cloudflare Image Upload

Testing Cloudflare R2 Integration

This is a test article to verify that the DotShare Cover Image Upload feature is working perfectly with Cloudflare R2 and the Rust backend.

What are we testing?

  1. Selecting an image via the VS Code extension.
  2. Converting the image to a Buffer via axios instead of native fetch.
  3. Verifying that the Axum Rust server detects the magic bytes correctly.
  4. Ensuring the Cloudflare R2 upload succeeds and returns a public URL.

If you can read this on Dev.to and see the cover image, then the end-to-end media upload pipeline is fully operational! 🚀

Top comments (0)