@frogbotai/storage-r2
v0.5.0
Published
Cloudflare R2 storage adapter for FrogBot.
Readme
@frogbotai/storage-r2
Cloudflare R2 storage adapter for FrogBot.
Installation
pnpm add @frogbotai/storage-r2Usage
import { buildConfig } from 'frogbot'
import { r2Storage } from '@frogbotai/storage-r2'
export default buildConfig({
storage: [
r2Storage({
bucket: env.R2_BUCKET,
collections: {
media: true,
},
}),
],
// ...rest of config
})