12345678910 |
- const AWS = require('aws-sdk');
- const AWS_ACCESS_KEY = process.env.AWS_ACCESS_KEY;
- const AWS_SECRET_ACCESS_KEY = process.env.AWS_SECRET_ACCESS_KEY;
- const s3 = new AWS.S3({
- accessKeyId: AWS_ACCESS_KEY,
- secretAccessKey: AWS_SECRET_ACCESS_KEY,
- });
- module.exports = s3;
|