Skip to content

Instantly share code, notes, and snippets.

Avatar

radicalsauce

  • San Francisco, CA
View GitHub Profile
View favicon-interceptor.js
// early experiments with node had mysterious double requests
// turned out these were for the stoopid favicon
// here's how to short-circuit those requests
// and stop seeing 404 errors in your client console
var http = require('http');
http.createServer(function (q, r) {
// control for favicon