From 3f611654f25743c2a5efd8e19aec9f40bd4a46ee Mon Sep 17 00:00:00 2001 From: Carson McKinstry Date: Sat, 7 Oct 2017 08:08:14 -0500 Subject: [PATCH] [docs] Fix a grammar mistake in the API docs (#3076) --- docs/API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/API.md b/docs/API.md index 161a4480fb..4bfadddd43 100644 --- a/docs/API.md +++ b/docs/API.md @@ -241,7 +241,7 @@ Provides a function taking two arguments `origin:String` and `callback(error, su __Potential drawbacks__: * in some situations, when it is not possible to determine `origin` it may have value of `*` * As this function will be executed for every request, it is advised to make this function work as fast as possible -* If `socket.io` is used together with `Express`, the CORS headers will be affected only for `socket.io` requests. For Express can use [cors](https://github.com/expressjs/cors). +* If `socket.io` is used together with `Express`, the CORS headers will be affected only for `socket.io` requests. For Express you can use [cors](https://github.com/expressjs/cors). ```js io.origins((origin, callback) => {