瀏覽代碼

[bugfix] oops typo

B Thibault 8 年之前
父節點
當前提交
d156fc72ce
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      srv/src/httpServ.js

+ 1 - 1
srv/src/httpServ.js

@@ -15,7 +15,7 @@ function Server(port) {
         res.on('end', () => {
             res.ended = true;
         });
-        ctx.onRequest(req, res););
+        ctx.onRequest(req, res);
     });
     this.httpServ.listen(port, ctx.onListen);
 }