We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04ebfe9 commit 48421f8Copy full SHA for 48421f8
src/nodejs/unit-http/http.js
@@ -14,7 +14,7 @@ const {
14
15
function createServer (options, requestHandler) {
16
if (typeof options === 'function') {
17
- requestListener = options;
+ requestHandler = options;
18
options = {};
19
} else {
20
stderr.write('createServer was called with an options object. Unit ignores this for the time being.');
0 commit comments