I'm sending email verifications for my meteor app but I'm also uploading the app to github. I have the following code:
if (Meteor.isServer) {
// This code only runs on the server
Meteor.startup(function () {
// code to run on server at startup
process.env.MAIL_URL = "smtp://" +
encodeURIComponent("myUsernameIsHere") + ":" +
encodeURIComponent("myPasswordIsHere") + '@' +
encodeURIComponent("smtp.gmail.com") + ":" + 465;
..
..
..
}
Is there any way to make my username and password private in code so that it can't be viewed on my public github account?
Thanks