So i'm using Koa for a project and using koa-router to handle the routing. I keep seeing examples for it of people calling app.use(router.allowedRoutes()) but can't find anything that really describes what allowedRoutes() does, or if its really required to call after app.use(router.routes()).
Submitted January 12, 2019 at 10:50PM by TeeckleMeElmo
No comments:
Post a Comment