X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FPlack%2FApp%2FGruntmaster.pm;h=007ad6bd754369773e356cab360cfdde552c0e4c;hb=cb0122d7defc0d1f71f17c0713a36d9fd5f1959e;hp=59e5720c96bd28ce571c8021be6dd972156903a2;hpb=d21f1ecdd3824ba94d7e44c0b2d320caa2a0dff2;p=plack-app-gruntmaster.git diff --git a/lib/Plack/App/Gruntmaster.pm b/lib/Plack/App/Gruntmaster.pm index 59e5720..007ad6b 100644 --- a/lib/Plack/App/Gruntmaster.pm +++ b/lib/Plack/App/Gruntmaster.pm @@ -195,6 +195,7 @@ sub dispatch_request{ }, sub (/) { redispatch_to '/index' }, + sub (/favicon.ico) { redirect '/static/favicon.ico' }, sub (/:article) { [200, ['Content-Type' => 'text/html', 'Cache-Control' => 'public, max-age=60', 'X-Forever' => 1], [render_article $_{article}, 'en']] } },