404 handler for Lad and Koa (best used with koa-better-error-handler)
npm:
npm install koa-404-handler
yarn:
const errorHandler = require('koa-better-error-handler'); const koa404Handler = require('koa-404-handler'); // ... // override koa's undocumented error handler app.context.onerror = errorHandler; // ... routes go here ... app.use(koa404Handler); app.listen();About
404 handler for Lad and Koa (best used with koa-better-error-handler)
Topics Resources License Code of conduct Contributing Security policy Stars Watchers ForksYou can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4