From cec32ae881fae01ad24b179570ded449f20b273e Mon Sep 17 00:00:00 2001 From: cameronapak Date: Wed, 16 Jul 2025 22:57:15 -0500 Subject: [PATCH] docs(media): add S3/R2 URL format examples and fix typo --- docs/modules/media.mdx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/modules/media.mdx b/docs/modules/media.mdx index f14f7b1..4cd3897 100644 --- a/docs/modules/media.mdx +++ b/docs/modules/media.mdx @@ -25,7 +25,11 @@ There are two ways to enable S3 or S3 compatible storage in bknd. Simply navigate to the **Media** tab of the bknd admin UI and enable the S3 media support. Enter your AWS S3-compatible storage Access Key, Secret Access Key, and URL. -This will automatically configure the S3 adapter for you. +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. @@ -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.