mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
Deprecate API v2 (#7761)
* deprecate api-v2 * remove v2 test helpers * remove unused string
This commit is contained in:
7
website/server/libs/aws.js
Normal file
7
website/server/libs/aws.js
Normal file
@@ -0,0 +1,7 @@
|
||||
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'),
|
||||
});
|
||||
Reference in New Issue
Block a user