mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 14:10:53 +03:00
currently not working, decryption seems to fail
This commit is contained in:
committed by
Danny Coates
parent
0677603d74
commit
39a63cd16e
16
server/config.js
Normal file
16
server/config.js
Normal 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;
|
||||
Reference in New Issue
Block a user