- Notifications
You must be signed in to change notification settings - Fork0
404 handler for Lad and Koa (best used with koa-better-error-handler)
License
NotificationsYou must be signed in to change notification settings
ladjs/koa-404-handler
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
404 handler forLad andKoa (best used withkoa-better-error-handler)
npm:
npm install koa-404-handler
yarn:
yarn add koa-404-handler
consterrorHandler=require('koa-better-error-handler');constkoa404Handler=require('koa-404-handler');// ...// override koa's undocumented error handlerapp.context.onerror=errorHandler;// ... routes go here ...app.use(koa404Handler);app.listen();
| Name | Website |
|---|---|
| Nick Baugh | http://niftylettuce.com/ |
About
404 handler for Lad and Koa (best used with koa-better-error-handler)
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.