pub const STORAGE_PUBLIC_URL: &str = "STORAGE_PUBLIC_URL";Expand description
Name of the Worker variable holding the base URL of a public bucket, for public_url.
An r2.dev URL or a custom domain connected to the bucket (dashboard:
R2 > bucket > Settings > Public access), as
STORAGE_PUBLIC_URL: bindings.text("https://files.example.com"), in worker.env.
ยงExamples
assert_eq!(ocre::storage::STORAGE_PUBLIC_URL, "STORAGE_PUBLIC_URL");