egg-multiple-static

0.2.1 • Public • Published

egg-multiple-static

Support multiple static server plugin for egg, base on koa-static-cache.

Install

$ npm i egg-multiple-static --save

Usage

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

Configuration

Support all configurations in koa-static-cache.

License

MIT

Package Sidebar

Install

npm i egg-multiple-static

Weekly Downloads

2

Version

0.2.1

License

MIT

Last publish

Collaborators

  • dapixp