Skip to content

Commit 3f61165

Browse files
CarsonMcKinstrydarrachequesne
authored andcommittedOct 7, 2017
[docs] Fix a grammar mistake in the API docs (#3076)
1 parent e26b71c commit 3f61165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/API.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ Provides a function taking two arguments `origin:String` and `callback(error, su
241241
__Potential drawbacks__:
242242
* in some situations, when it is not possible to determine `origin` it may have value of `*`
243243
* As this function will be executed for every request, it is advised to make this function work as fast as possible
244-
* 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).
244+
* 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).
245245

246246
```js
247247
io.origins((origin, callback) => {

0 commit comments

Comments
 (0)
Please sign in to comment.