Moved and configured config.json to be in root of directory

This commit is contained in:
Blade Barringer 2015-02-13 09:24:16 -06:00
parent 368d1b9941
commit 9dfd96b84f
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,6 @@
var nodemailer = require('nodemailer');
var nconf = require('nconf');
nconf.file({ file: './config.json' });
var crypto = require('crypto');
var path = require("path");
var request = require('request');
@ -142,4 +143,4 @@ module.exports.decrypt = function(text){
var dec = decipher.update(text,'hex','utf8')
dec += decipher.final('utf8');
return dec;
}
}