egg-multiple-static
support multiple static server plugin for egg
Last updated 3 years ago by dapixp .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install egg-multiple-static 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.2.1                                ...           latest (3 years ago)

2 Versions

  • 0.2.1                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 2
This Week 4
This Month 62
Last Day 2
Last Week 30
Last Month 97
Dependencies (3)
Dev Dependencies (10)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |