http: less spam.
This commit is contained in:
parent
4a8c4dee57
commit
b2ef630341
@ -102,8 +102,8 @@ HTTPServer.prototype._init = function _init() {
|
|||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
this.server.on('request', function(req, res) {
|
this.server.on('request', function(req, res) {
|
||||||
// if (req.pathname === '/')
|
if (req.method === 'POST' && req.pathname === '/')
|
||||||
// return;
|
return;
|
||||||
|
|
||||||
self.logger.debug('Request for method=%s path=%s (%s).',
|
self.logger.debug('Request for method=%s path=%s (%s).',
|
||||||
req.method, req.pathname, req.socket.remoteAddress);
|
req.method, req.pathname, req.socket.remoteAddress);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user