[Yesod] sendFile depends on approot?

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.

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
this?
Michael
[1] http://en.wikipedia.org/wiki/Favicon
On Fri, Feb 18, 2011 at 1:12 PM, Katsutoshi Itoh
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@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
participants (2)
-
Katsutoshi Itoh
-
Michael Snoyman