Removed useless catch

This commit is contained in:
Jori Lallo
2018-02-04 17:28:14 -08:00
parent 2b81cea277
commit a941e04d08

View File

@ -94,8 +94,5 @@ router.get('*', async ctx => {
// middleware
koa.use(subdomainRedirect());
koa.use(router.routes());
koa.use(async () => {
throw httpErrors.NotFound();
});
export default koa;