mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
added checkpoint output, setting up a channel
This commit is contained in:
parent
dd154aa576
commit
c2ed00cb9b
10 changed files with 115 additions and 79 deletions
|
|
@ -26,6 +26,7 @@ function (http, nodeStatic) {
|
|||
switch(true) {
|
||||
case req.url == '/':
|
||||
fileServer.serveFile('./static/html/index.html', 200, {}, req, res);
|
||||
console.checkpoint('HTTP Server serves index');
|
||||
break;
|
||||
|
||||
case req.url == '/client.js':
|
||||
|
|
@ -56,6 +57,7 @@ function (http, nodeStatic) {
|
|||
}
|
||||
);
|
||||
this.server.listen(options.port);
|
||||
console.checkpoint('start HTTP server');
|
||||
}
|
||||
|
||||
HttpServer.prototype.getServer = function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue