Koa middleware for serving a favicon. Based on serve-favicon.
$ npm install koa-favicon
var koa = require('koa');var favicon = require('koa-favicon');var app = koa();app.use(favicon(__dirname + '/public/favicon.ico'));
Returns a middleware serving the favicon found on the given
maxAgecache-control max-age directive in ms, defaulting to 1 day.
It’s never been easier to manage developer teams with varying permissions and multiple projects. Learn more about Private Packages and Organizations…