From 3cde4c5a52a47e55cbee2ceb8e90eea353a2c0e5 Mon Sep 17 00:00:00 2001 From: Carson McKinstry Date: Wed, 4 Oct 2017 14:29:45 -0500 Subject: [PATCH] Update API.md --- docs/API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/API.md b/docs/API.md index a3ebafa520..d8f12d4e91 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) => {