Moved and configured config.json to be in root of directory
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user