Added .env

This commit is contained in:
Mathew committed 2019-02-22 17:58:47 +01:00
1 parent fb1c5895fd
commit 7d9687a275
1 file changed
+3 -2
+3 -2
View File
@@ -1,4 +1,5 @@
// dependencies
require('dotenv').config()
const express = require('express');
const bodyParser = require('body-parser');
const path = require('path');
@@ -19,8 +20,8 @@ const stdin = process.openStdin();
const transporter = nodemailer.createTransport({
service: 'gmail',
auth: {
user: 'mathias.ddns.net@gmail.com',
pass: '/?"hhc`VS7}@_?y}'
user: process.env.MAIL_USER,
pass: process.env.MAIL_PASS
}
});