@uponco/plugin-storage-r2
v0.0.12
Published
A simple plugin to use Cloudflare R2 as the storage provider for Uponco.
Downloads
4
Readme
A simple plugin to use Cloudflare R2 as the storage provider for Uponco.
npm i @uponco/plugin-storage-r2
{
resolve: `@uponco/plugin-storage-r2`,
options: {
account_id: process.env.R2_ACCOUNT_ID,
access_key_id: process.env.R2_ACCESS_KEY_ID,
secret_access_key: process.env.R2_SECRET_ACCESS_KEY,
bucket: process.env.R2_BUCKET_NAME,
public_bucket_url: process.env.R2_PUBLIC_BUCKET_URL,
},
}