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#161 from Sunbird-ALL/all-1.2-tn-dev
All 1.2 tn dev
- Loading branch information
Showing
10 changed files
with
72 additions
and
53 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
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
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
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
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
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
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
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
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