[web-devel] [Yesod] sendFile depends on approot?

Michael Snoyman michael at snoyman.com
Sun Feb 20 07:39:14 CET 2011

My guess is that favicon.ico is still being served correctly, but the
web browser looks in http://<domain>/favicon.ico by default. If you
want to override that, you'll need to put an appropriate <link> tag in
your <head>, such as:

<link rel="shortcut icon" href="http://www.example.com/myicon.ico">

Check out the relevant Wikipedia page[1]. I suppose an argument could
be made to have the default scaffolded site include this by default, I
simply hadn't thought about it before. Does anyone have an opinion on


[1] http://en.wikipedia.org/wiki/Favicon

On Fri, Feb 18, 2011 at 1:12 PM, Katsutoshi Itoh <cutsea110 at gmail.com> wrote:
> Hi
> when i set approot = "http://foo.bar.buz/quz", then favicon.ico could
> not get at web brawser.
> is this a bug?
> i use yesod 0.6.7.
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel

More information about the web-devel mailing list