From 18a60e2d2e533cbd761f420c420c1795cf7f86b9 Mon Sep 17 00:00:00 2001 From: Jim Johnston Date: Tue, 19 Nov 2024 10:52:26 +0000 Subject: [PATCH] docs: S3 providers - add example for DigitalOcean Spaces endpoint (#10145) The [S3 providers docs](https://docs.medusajs.com/resources/architectural-modules/file/s3#:R1d5rtttqj5db:) instructs DigitalOcean users to set the endpoint address to the "Spaces Origin Endpoint": ``` For DigitalOcean Spaces, it's the Spaces Origin Endpoint. ``` On DigitalOcean's user interface they include the bucket name in their origin endpoint: ![image](https://github.com/user-attachments/assets/e4c6ab05-ff1c-40ad-bb2b-49653b990e6b) Using this url for the endpoint will cause an error. The example URL `https://{region}.digitaloceanspaces.com` should tip users off to remove the bucketname. Cheers! --- www/apps/resources/app/architectural-modules/file/s3/page.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/apps/resources/app/architectural-modules/file/s3/page.mdx b/www/apps/resources/app/architectural-modules/file/s3/page.mdx index 9048850e23..e94aa3dbae 100644 --- a/www/apps/resources/app/architectural-modules/file/s3/page.mdx +++ b/www/apps/resources/app/architectural-modules/file/s3/page.mdx @@ -260,7 +260,7 @@ module.exports = { - For AWS S3, the endpoint is of the format `https://s3.{region}.amazonaws.com` - For MinIO, it's the URL to the MinIO server. - - For DigitalOcean Spaces, it's the Spaces Origin Endpoint. + - For DigitalOcean Spaces, it's the Spaces Origin Endpoint of the format `https://{region}.digitaloceanspaces.com`. - For Supabase, it's the Endpoint URL in the [Storage Settings](https://supabase.com/docs/guides/storage/s3/authentication?queryGroups=language&language=javascript#s3-access-keys).