mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Deprecate API v2 (was Revert "Revert "Deprecate API v2"") (#7802)
* Revert "Revert "Deprecate API v2"" * fix path in shops controller
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