favicon
安装
npm i @luobotang/koa-favicon
配置
module.exports = {
favicon: '/path/to/favicon.ico'
}
使用
router.use(middlewares.favicon)
npm i @luobotang/koa-favicon
module.exports = {
favicon: '/path/to/favicon.ico'
}
router.use(middlewares.favicon)
npm i @luobotang/koa-favicon
3
0.3.0
MIT
636 B
3