diff options
Diffstat (limited to 'routes/api')
-rw-r--r-- | routes/api/members.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routes/api/members.js b/routes/api/members.js index f1498ae..36b66aa 100644 --- a/routes/api/members.js +++ b/routes/api/members.js @@ -33,7 +33,8 @@ router.post('/', (req, res) => { } members.push(newMember); - res.json(members); + //res.json(members); + res.redirect('/nodejs'); }); // Updat Member |