|
|
@ -67,7 +67,7 @@ server.prototype.rootHandler = function(request, response){ |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
server.prototype.errorHandler = function(error){ |
|
|
server.prototype.errorHandler = function(error){ |
|
|
console.log("Error:", error); |
|
|
|
|
|
|
|
|
throw Error("YAPS, HTTP Server Error:", error); |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
server.prototype.registerPlugin = function(plugin_constructor){ |
|
|
server.prototype.registerPlugin = function(plugin_constructor){ |
|
|
|