Skip to content

Commit

Permalink
made the email an env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sheldor1510 committed Nov 6, 2020
1 parent b240d74 commit dba001a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions public/css/post.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,26 +135,24 @@ body {
.post-div input {
height: 50px;
width: 500px;
background-color: white;
opacity: 0.3;
background-color: #595959;
border: none;
padding-left: 30px;
font-family: 'Lexend Deca';
font-size: 1.5rem;
color: black;
color: white;
border-radius: 5px;
}

.post-div select {
height: 50px;
width: 500px;
background-color: white;
opacity: 0.3;
background-color: #595959;
border: none;
padding-left: 30px;
font-family: 'Lexend Deca';
font-size: 1.5rem;
color: black;
color: white;
border-radius: 5px;
}

Expand Down
2 changes: 1 addition & 1 deletion routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const { json } = require('express');
const transporter = nodemailer.createTransport({
service: 'gmail',
auth: {
user: '[email protected]',
user: process.env.EMAIL_ID,
pass: process.env.EMAIL_PASS
}
});
Expand Down

0 comments on commit dba001a

Please sign in to comment.