Browse Source

tweak log

master
Rich Brown 1 year ago
parent
commit
aaf328fb7a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routes/authRouter.js

+ 1
- 1
routes/authRouter.js View File

@@ -35,7 +35,7 @@ authRouter.post('/', (req, res) => {
.then(url => res.json({ err: null, url }))
.catch((err) => {
console.log(err);
res.status(400).json({ err: JSON.stringify(err), url: null });
res.status(400).json({ error: 'Nope.', url: null });
});
// .then(url => res.redirect(url))
// .catch(err => console.log(err));


Loading…
Cancel
Save