forked from Sunbird-ALL/all-learner-ai-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Sunbird-ALL#152 from ajinkyapandetekdi/all-1.2-tn-dev
Issueid #225896 feat: Enable Audio Upload on Test-Rig
- Loading branch information
Showing
2 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
// import { S3Client } from '@aws-sdk/client-s3'; | ||
import { S3Client } from "@aws-sdk/client-s3"; | ||
|
||
// export default new S3Client({ | ||
// region: process.env.REACT_APP_AWS_S3_REGION, | ||
// credentials: { | ||
// accessKeyId: process.env.REACT_APP_AWS_ACCESS_KEY_ID, | ||
// secretAccessKey: process.env.REACT_APP_AWS_SECRET_ACCESS_KEY, | ||
// }, | ||
// }); | ||
export default new S3Client({ | ||
region: process.env.REACT_APP_AWS_S3_REGION, | ||
credentials: { | ||
accessKeyId: process.env.REACT_APP_AWS_ACCESS_KEY_ID, | ||
secretAccessKey: process.env.REACT_APP_AWS_SECRET_ACCESS_KEY, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters