Skip to content

Commit d6d31e2

Browse files
daniel-vendiavladholubiev
authored andcommitted
FIX: aws-sdk v3 expects the endpoint to have the protocol
1 parent b245d35 commit d6d31e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

readme.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,7 @@ const isTest = process.env.JEST_WORKER_ID;
190190
const ddb = DynamoDBDocument.from(
191191
new DynamoDB({
192192
...(isTest && {
193-
endpoint: 'localhost:8000',
194-
sslEnabled: false,
193+
endpoint: 'http://localhost:8000',
195194
region: 'local-env',
196195
credentials: {
197196
accessKeyId: 'fakeMyKeyId',

0 commit comments

Comments
 (0)