Closed hughsk closed 9 years ago
Previously, opts was being passed to http.createServer, which only accepts a request-handling function as its first argument. Creating an HTTP server would result in the following error:
opts
http.createServer
TypeError: listener must be a function
Thanks! :)
Oh whoops, looks like this has already been fixed – my bad! :)
Previously,
opts
was being passed tohttp.createServer
, which only accepts a request-handling function as its first argument. Creating an HTTP server would result in the following error:Thanks! :)