Created
July 15, 2018 12:42
-
-
Save Jerga99/20770c2e5418b0addb54ae3762ca5378 to your computer and use it in GitHub Desktop.
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
const multer = require('multer'); | |
const multerS3 = require('multer-s3'); | |
const aws = require('aws-sdk'); | |
aws.config.update({ | |
secretAccessKey: "ab7786ad6", // Not working key, Your SECRET ACCESS KEY from AWS should go here, never share it!!! | |
accessKeyId: "ab7786ad6", // Not working key, Your ACCESS KEY ID from AWS should go here, never share it!!! | |
region: 'us-east-1' // region of your bucket | |
}); | |
const s3 = new aws.S3(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment