summaryrefslogtreecommitdiffhomepage
path: root/src/nodejs/unit-http/http.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/nodejs/unit-http/http.js')
-rw-r--r--src/nodejs/unit-http/http.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nodejs/unit-http/http.js b/src/nodejs/unit-http/http.js
index d298a35f..60b8004f 100644
--- a/src/nodejs/unit-http/http.js
+++ b/src/nodejs/unit-http/http.js
@@ -11,8 +11,8 @@ const {
ServerResponse,
} = require('./http_server');
-function createServer (requestHandler) {
- return new Server(requestHandler);
+function createServer (options, requestHandler) {
+ return new Server(options, requestHandler);
}
const http = require("http")