Permalink
Browse files

Respond to apple-touch-icon.png in root directory of static files.

  • Loading branch information...
1 parent 2c8f7c5 commit 26f874010c59863301cfc300493bffcc3cea26e6 @davidw committed Feb 7, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/boss/boss_web_controller.erl
@@ -420,6 +420,8 @@ handle_request(Req, RequestMod, ResponseMod) ->
Url = lists:nthtail(length(BaseURL), FullUrl),
Response = simple_bridge:make_response(ResponseMod, {Req, DocRoot}),
case Url of
+ "/apple-touch-icon.png" = File ->
+ (Response:file(File)):build_response();
"/favicon.ico" = File ->
(Response:file(File)):build_response();
_ ->

0 comments on commit 26f8740

Please sign in to comment.