egg-multiple-static
support multiple static server plugin for egg
Last updated 4 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 (4 years ago)

2 Versions

  • 0.2.1                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 20
Last Day 0
Last Week 5
Last Month 23
Dependencies (3)
Dev Dependencies (10)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |