Skip to content

Commit

Permalink
chore: Remove error test endpoint (#6330)
Browse files Browse the repository at this point in the history
  • Loading branch information
ffflorian committed Apr 10, 2019
1 parent ed33384 commit 86ab15b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions server/routes/RedirectRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,6 @@ const RedirectRoutes = (config: ServerConfig) => [
const parseResult = BrowserUtil.parseUserAgent(userAgent);
return res.json(parseResult);
}),
router.get('/test/:error/?', (req, res) => {
try {
const errorCode = parseInt(req.params.error, 10);
return res.sendStatus(errorCode);
} catch (error) {
console.log(error);
return res.sendStatus(500);
}
}),
router.get('/commit/?', (req, res) => {
return res.send(config.COMMIT);
}),
Expand Down

0 comments on commit 86ab15b

Please sign in to comment.