currently not working, decryption seems to fail

This commit is contained in:
Abhinav Adduri 2017-06-05 15:35:36 -07:00 committed by Danny Coates
parent 0677603d74
commit 39a63cd16e
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
4 changed files with 119 additions and 48 deletions

16
server/config.js Normal file
View file

@ -0,0 +1,16 @@
const convict = require('convict');
let conf = convict({
aws_credentials: {
region: 'us-west-2',
bucketName: 'testpilot-p2p'
}
})
// var env = conf.get('env');
// conf.loadFile('./config/' + env + '.json');
// Perform validation
conf.validate({allowed: 'strict'});
module.exports = conf;