diff --git a/src/libs/routes/signup.js b/src/libs/routes/signup.js index d5fa3ab259702afcbce68d3e8f8a371daf461124..55ed206450647f10099eea47a61e6a45c2bd0a48 100644 --- a/src/libs/routes/signup.js +++ b/src/libs/routes/signup.js @@ -5,7 +5,7 @@ const signupApp = express(); const libs = `${process.cwd()}/libs`; -signupApp.post('/signup', function(req, res) { +signupApp.post('/', function(req, res) { if (!req.body.email || !req.body.password) { res.json({success: false, msg: 'Please pass email and password.'}); } else {