]> iEval git - gruntmaster-page.git/blobdiff - lib/Plack/App/Gruntmaster.pm
Redirect /favicon.ico to /static/favicon.ico
[gruntmaster-page.git] / lib / Plack / App / Gruntmaster.pm
index 59e5720c96bd28ce571c8021be6dd972156903a2..007ad6bd754369773e356cab360cfdde552c0e4c 100644 (file)
@@ -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']] }
        },
 
This page took 0.023379 seconds and 4 git commands to generate.