mirror of
https://github.com/bitinflow/server.git
synced 2026-03-13 13:35:53 +00:00
skip favicon for non proxy routes
This commit is contained in:
@@ -110,6 +110,12 @@ server.on('connection', function(socket) {
|
||||
if (!match) {
|
||||
// normal processing if not proxy
|
||||
var res = new ServerResponse(req);
|
||||
|
||||
// TODO(shtylman) skip favicon for now, it caused problems
|
||||
if (req.url === '/favicon.ico') {
|
||||
return;
|
||||
}
|
||||
|
||||
res.assignSocket(parser.socket);
|
||||
self.emit('request', req, res);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user