From b0785e34bb68b18af0d9f50bc3bf40cb91987391 Mon Sep 17 00:00:00 2001 From: Sen Yang Date: Thu, 20 Jul 2017 22:06:34 +0800 Subject: [PATCH] docs: s/extention/extension (#13) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5e9d37f..e51de1b 100644 --- a/README.md +++ b/README.md @@ -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`. -## 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: @@ -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