mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Make env vars more palatable for containerization (#10895)
* refactor(env-vars): remove object/colon syntax * fix(tests): correct config expectations
This commit is contained in:
@@ -2,6 +2,6 @@ import AWS from 'aws-sdk';
|
||||
import nconf from 'nconf';
|
||||
|
||||
export const S3 = new AWS.S3({
|
||||
accessKeyId: nconf.get('S3:accessKeyId'),
|
||||
secretAccessKey: nconf.get('S3:secretAccessKey'),
|
||||
accessKeyId: nconf.get('S3_ACCESS_KEY_ID'),
|
||||
secretAccessKey: nconf.get('S3_SECRET_ACCESS_KEY'),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user