diff --git a/routes/registerlogin.js b/routes/registerlogin.js index 0811a81..6def2db 100644 --- a/routes/registerlogin.js +++ b/routes/registerlogin.js @@ -2,7 +2,7 @@ const bcrypt = require("bcrypt"); const saltRounds = 10; var nodemailer = require("nodemailer"); var randtoken = require("rand-token"); -var db_connect = require("../db.js"); +var db_connect = require("../modules/db.js"); //send email function sendEmail(email, token) {