docs(storage-*): readme fixes

This commit is contained in:
Elliot DeNolf
2024-04-29 09:40:39 -04:00
parent 32231762ff
commit 5b676c36e5
2 changed files with 1 additions and 3 deletions

View File

@@ -7,13 +7,12 @@ This package provides a simple way to use [Azure Blob Storage](https://azure.mic
## Installation
```sh
pnpm add @payloadcms/storage-s3
pnpm add @payloadcms/storage-azure
```
## Usage
- Configure the `collections` object to specify which collections should use the Vercel Blob adapter. The slug _must_ match one of your existing collection slugs.
- The `config` object can be any [`S3ClientConfig`](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3) object (from [`@aws-sdk/client-s3`](https://github.com/aws/aws-sdk-js-v3)). _This is highly dependent on your AWS setup_. Check the AWS documentation for more information.
- When enabled, this package will automatically set `disableLocalStorage` to `true` for each collection.
```ts

View File

@@ -13,7 +13,6 @@ pnpm add @payloadcms/storage-gcs
## Usage
- Configure the `collections` object to specify which collections should use the Vercel Blob adapter. The slug _must_ match one of your existing collection slugs.
- The `config` object can be any [`S3ClientConfig`](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3) object (from [`@aws-sdk/client-s3`](https://github.com/aws/aws-sdk-js-v3)). _This is highly dependent on your AWS setup_. Check the AWS documentation for more information.
- When enabled, this package will automatically set `disableLocalStorage` to `true` for each collection.
```ts