summaryrefslogtreecommitdiff
path: root/lib/http.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http.js')
-rw-r--r--lib/http.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http.js b/lib/http.js
index 8431ab0d51..9ed6b3d1de 100644
--- a/lib/http.js
+++ b/lib/http.js
@@ -33,8 +33,8 @@ const {
ServerResponse
} = require('_http_server');
-function createServer(requestListener) {
- return new Server(requestListener);
+function createServer(opts, requestListener) {
+ return new Server(opts, requestListener);
}
function request(options, cb) {