koa-map-local
Charles map local for Koa.js
Install
$ npm i koa-map-local --save
API
const mapLocal = const app = new const publicDir = __dirname + '/public'app app
mapLocal(publicDir)
GET http://proxytest.com/test/resource.json
will send `${ publicDir }/proxytest.com/test/resource.json` file
Changelog
License
the MIT License http://magicdawn.mit-license.org