Skip to content

Commit

Permalink
fix readme typos
Browse files Browse the repository at this point in the history
  • Loading branch information
good-lly committed Aug 27, 2024
1 parent 3a9145f commit 4eb094d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ import { S3 } from 'ultralight-s3';

// ... your configuration
const s3 = new S3({
endpoint: 'https://your-s3-endpoint.com' || 'http://127.0.0.1:9000',
accessKeyId: 'your-access-key-id',
secretAccessKey: 'your-secret-access-key',
bucketName: 'your-bucket-name',
region: 'auto',
bucket: 'your-bucket-name',
});

// List objects
Expand Down Expand Up @@ -135,9 +136,9 @@ pnpm add ultralight-s3
import { S3 } from 'ultralight-s3';

const s3 = new S3({
endpoint: 'https://your-s3-endpoint.com' || 'http://127.0.0.1:9000',
accessKeyId: 'your-access-key-id',
secretAccessKey: 'your-secret-access-key',
endpoint: 'https://your-s3-endpoint.com' || 'http://127.0.0.1:9000',
bucketName: 'your-bucket-name',
region: 'auto', //optional - by default is auto
maxRequestSizeInBytes: 5242880, // optional - by default is 5MB
Expand All @@ -152,9 +153,9 @@ const s3 = new S3({
import { S3 } from 'ultralight-s3';

const s3 = new S3({
endpoint: 'https://your-clouflare-id.r2.cloudflarestorage.com/your-bucket-name',
accessKeyId: 'your-access-key-id',
secretAccessKey: 'your-secret-access-key',
endpoint: 'https://your-clouflare-id.r2.cloudflarestorage.com/your-bucket-name',
bucketName: 'your-bucket-name',
region: 'auto', //optional - by default is auto
maxRequestSizeInBytes: 5242880, // optional - by default is 5MB
Expand Down

0 comments on commit 4eb094d

Please sign in to comment.