Added .env
This commit is contained in:
1 parent
fb1c5895fd
commit
7d9687a275
1 file changed
+3
-2
@@ -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
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user