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);
 }