mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
* refactor(env-vars): remove object/colon syntax * fix(tests): correct config expectations
8 lines
190 B
JavaScript
8 lines
190 B
JavaScript
import AWS from 'aws-sdk';
|
|
import nconf from 'nconf';
|
|
|
|
export const S3 = new AWS.S3({
|
|
accessKeyId: nconf.get('S3_ACCESS_KEY_ID'),
|
|
secretAccessKey: nconf.get('S3_SECRET_ACCESS_KEY'),
|
|
});
|