Skip to content

Commit

Permalink
fix email send issue
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshbasnet089 committed Mar 2, 2024
1 parent d2d63f6 commit bf196e2
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 371 deletions.
1 change: 1 addition & 0 deletions tapShareBackend/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const path = require("path");
const fs = require("fs");
const File = require("./model/fileModel");

require('dotenv').config()
app.set("view engine", "ejs");
//test
//CORS config
Expand Down
4 changes: 0 additions & 4 deletions tapShareBackend/config/secrets.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,5 @@ module.exports = {
EMAIL: process.env.EMAIL,
EMAIL_APP_PASSWORD: process.env.PASSWORD,
BASE_URL: process.env.baseUrl,
TWILIO_SID: process.env.TWILIO_SID,
TWILIO_TOKEN: process.env.TWILIO_TOKEN,
TWILIO_NUMBER: process.env.TWILIO_NUMBER,
TWILIO_VERIFICATION_SID: process.env.TWILIO_VERIFICATION_SID,
DB_PASSWORD: process.env.DB_PASSWORD,
};
4 changes: 0 additions & 4 deletions tapShareBackend/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ EMAIL =
PASSWORD =

baseUrl =
TWILIO_SID =
TWILIO_TOKEN =
TWILIO_NUMBER =

TWILIO_VERIFICATION_SID =

DB_PASSWORD =
Loading

0 comments on commit bf196e2

Please sign in to comment.