From: Matt S Trout Date: Sat, 16 Jul 2011 20:18:28 +0000 (+0000) Subject: make dev mode server serve favicon.ico X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f08b95b6430bc25ab261992dcfd466722479aadd;p=scpubgit%2FSCS.git make dev mode server serve favicon.ico --- diff --git a/lib/SCSite/DevMode.pm b/lib/SCSite/DevMode.pm index cc5bf6a..89d69d9 100644 --- a/lib/SCSite/DevMode.pm +++ b/lib/SCSite/DevMode.pm @@ -17,6 +17,7 @@ around dispatch_request => sub { no warnings::illegalproto; ( sub (/static/...) { $self->_static_handler }, + sub (/favicon + .ico) { $self->_static_handler }, $self->$orig(@_) ) };