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!
This commit is contained in:
Jim Johnston
2024-11-19 10:52:26 +00:00
committed by GitHub
parent 36460a3a07
commit 18a60e2d2e

View File

@@ -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).
</Table.Cell>