node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

34
server/node_modules/koa-favicon/Readme.md generated vendored Normal file
View File

@@ -0,0 +1,34 @@
# koa-favicon [![Build Status](https://travis-ci.org/koajs/favicon.svg)](https://travis-ci.org/koajs/favicon)
Koa middleware for serving a favicon. Based on [serve-favicon](https://github.com/expressjs/serve-favicon).
## Installation
```js
$ npm install koa-favicon
```
## Example
```js
const Koa = require('koa');
const favicon = require('koa-favicon');
const app = new Koa();
app.use(favicon(__dirname + '/public/favicon.ico'));
```
## API
### favicon(path, [options])
Returns a middleware serving the favicon found on the given `path`.
#### options
- `maxAge` cache-control max-age directive in ms, defaulting to 1 day.
- `mime` specify the mime-type of the favicon, defaults to "image/x-icon"
## License
MIT