Skip to content

Large File Storage

Cloudflare Pages puts a limit of 25 MB on your file sizes. If you need to store larger files, we recommend using Backblaze.

Here is how to use it:

  1. Create a Backblaze Account: Sign up at Backblaze.
  2. Create a Backblaze Bucket: In the Backblaze dashboard, create a new bucket and upload your files.
  3. Reference Your Backblaze URL: Use the URL of the uploaded file as the media item’s content URL in your LightNet site.
  4. Configure Internal Domains: Add your Backblaze domain to the internal domains configuration in astro.config.mjs to ensure proper handling of the files.
    astro.config.mjs
    export default defineConfig({
    // ...
    internalDomains: ["your-backblaze-domain.com"],
    });