Skip to content

Commit

Permalink
fix(docs): update readme
Browse files Browse the repository at this point in the history
TAG: latest
  • Loading branch information
tunnckoCore committed Aug 15, 2017
1 parent 0a0887b commit b768e9d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .verb.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $ npm install {%= name %}
## API
Review carefully the provided examples and the working [tests](./test.js).

{%= apidocs('index.js') %}
{%= apidocs('src/index.js') %}

{% if (verb.related && verb.related.list && verb.related.list.length) { %}
## Related
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $ npm install koa-better-serve
## API
Review carefully the provided examples and the working [tests](./test.js).

### [koaBetterServe](index.js#L32)
### [koaBetterServe](src/index.js#L33)

Serving `dir` of files and folders, when request
url (`ctx.url`) match to `pathname`. All behind
Expand Down Expand Up @@ -92,7 +92,7 @@ Copyright © 2016-2017, [Charlike Mike Reagent](https://i.am.charlike.online). R

***

_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on August 10, 2017._
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on August 15, 2017._
Project scaffolded using [charlike-cli][].

[always-done]: https://github.com/hybridables/always-done
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import kindOf from 'kind-of'
* @param {String|RegExp} pathname path to match, can be regex
* @param {Object} options optional, passed directly to [koa-send][]
* @return {Function} a [koa][] plugin which returns `Promise` when called
* @name koaBetterServe
* @public
*/
export default function koaBetterServe (root, pathname, options) {
Expand Down

0 comments on commit b768e9d

Please sign in to comment.