An open API service indexing awesome lists of open source software.

https://github.com/okoala/egg-multiple-static

support multiple static server plugin for egg
https://github.com/okoala/egg-multiple-static

egg egg-plugin eggjs static

Last synced: about 1 year ago
JSON representation

support multiple static server plugin for egg

Awesome Lists containing this project

README

          

# egg-multiple-static

Support multiple static server plugin for egg, base on [koa-static-cache](https://github.com/koajs/static-cache).

## Install

```bash
$ npm i egg-multiple-static --save
```

## Usage

- plugin.js

```js
exports.multipleStatic = {
enable: true,
package: 'egg-multiple-static',
};
```

## Configuration

Support all configurations in [koa-static-cache](https://github.com/koajs/static-cache).

## License

[MIT](LICENSE)