fix readme

This commit is contained in:
2025-01-27 10:30:06 +00:00
parent 5f37990209
commit 0309eea1b9
+3 -2
View File
@@ -4,8 +4,9 @@
This worker allows you to browse and download files from R2 buckets in your web browser.
Supports multiple domains and buckets from a single worker.
Suppors configuration via `wrangler.toml` or Cloudflare dashboard.
Supports configuration via `wrangler.toml` or Cloudflare dashboard.
# Setup
Deploy with the button above, or clone this repo and configure via `wrangler.toml` before deploying.
In your worker settings, you must set a custom domain (unless you want to use the default workers subdomain), bind an r2 bucket, and then create a variable binding where the key is the domain name and the value is the variable name of the bucket binding. If you don't understand what that means, check the comments in `wrangler.toml`
In your worker settings, you must set a custom domain (unless you want to use the default workers subdomain), bind an r2 bucket, and then create a variable binding where the key is the domain name and the value is the variable name of the bucket binding.
An example config is commented in the `wrangler.toml`.