mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
docs(media): add S3/R2 URL format examples and fix typo
This commit is contained in:
@@ -27,6 +27,10 @@ Simply navigate to the **Media** tab of the bknd admin UI and enable the S3 medi
|
||||
Enter your AWS S3-compatible storage Access Key, Secret Access Key, and URL.
|
||||
This will automatically configure the S3 adapter for you.
|
||||
|
||||
**URL Format Examples:**
|
||||
- **S3**: `https://{bucket}.s3.{region}.amazonaws.com`
|
||||
- **R2 (Cloudflare)**: `https://{account_id}.r2.cloudflarestorage.com/{bucket}`
|
||||
|
||||
2. Enable programmatically.
|
||||
|
||||
To enable using a code-first approach, create an [Initial Structure](/usage/database#initial-structure) using the
|
||||
@@ -76,5 +80,5 @@ export default {
|
||||
```
|
||||
|
||||
This configuration will store uploaded files in the specified directory,
|
||||
making them accessible through your application's public path or whever
|
||||
making them accessible through your application's public path or wherever
|
||||
you choose.
|
||||
|
||||
Reference in New Issue
Block a user