projects
/
plack-app-gruntmaster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d21f1ec
)
Redirect /favicon.ico to /static/favicon.ico
author
Marius Gavrilescu
<marius@ieval.ro>
Wed, 4 Feb 2015 08:02:08 +0000
(10:02 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Wed, 4 Feb 2015 08:02:08 +0000
(10:02 +0200)
lib/Plack/App/Gruntmaster.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Plack/App/Gruntmaster.pm
b/lib/Plack/App/Gruntmaster.pm
index 59e5720c96bd28ce571c8021be6dd972156903a2..007ad6bd754369773e356cab360cfdde552c0e4c 100644
(file)
--- 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']] }
},
This page took
0.010591 seconds
and
4
git commands to generate.