1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-10 21:22:35 +01:00
send/server/config.js
2017-06-06 15:22:17 -07:00

16 lines
318 B
JavaScript

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;