This commit is contained in:
Josh Harvey 2017-03-05 18:39:52 +02:00
parent bef0a8d98d
commit 0bf54fa1d8
7 changed files with 115 additions and 14 deletions

View file

@ -374,6 +374,7 @@ app.post('/verify_user', verifyUser)
app.post('/verify_transaction', verifyTx)
app.post('/phone_code', phoneCode)
app.post('/tx', postTx)
app.use(errorHandler)
app.use((req, res) => res.status(404).json({err: 'No such route'}))