Explorar o código

[bugfix] oops typo

B Thibault %!s(int64=8) %!d(string=hai) anos
pai
achega
d156fc72ce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
 }