From b4885f99935e9afd5f9c7c7921e585c4ee8298a1 Mon Sep 17 00:00:00 2001 From: Matthew Patrick Date: Mon, 15 Nov 2021 17:25:24 +0700 Subject: [PATCH] Adapted registerlogin.js db require location --- routes/registerlogin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {