Skip to content

Commit

Permalink
docs: s/extention/extension (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonslyvia authored and dead-horse committed Jul 20, 2017
1 parent d67fcf5 commit b0785e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ Use [co-busboy](https://github.com/cojs/busboy) to upload file by streaming and

Just use `ctx.multipart()` to got file stream, then pass to image processing liberary such as `gm` or upload to cloud storage such as `oss`.

This comment has been minimized.

Copy link
@cksa

cksa Oct 1, 2017

liberary -> library


## Whitelist of file extendtions
## Whitelist of file extensions

For security, if uploading file extendtion is not in white list, will response as `400 Bad request`.
For security, if uploading file extension is not in white list, will response as `400 Bad request`.

Default Whitelist:

Expand Down Expand Up @@ -71,7 +71,7 @@ exports.multipart = {

### Custom Config

Developer can custom additional file extentions:
Developer can custom additional file extensions:

```js
// config/config.default.js
Expand Down

0 comments on commit b0785e3

Please sign in to comment.