make dev mode server serve favicon.ico
Matt S Trout [Sat, 16 Jul 2011 20:18:28 +0000 (20:18 +0000)]
lib/SCSite/DevMode.pm

index cc5bf6a..89d69d9 100644 (file)
@@ -17,6 +17,7 @@ around dispatch_request => sub {
   no warnings::illegalproto;
   (
     sub (/static/...) { $self->_static_handler },
+    sub (/favicon + .ico) { $self->_static_handler },
     $self->$orig(@_)
   )
 };