Give up and put favicon.ico at the root.

This commit is contained in:
Brad Fitzpatrick 2011-01-23 21:52:14 -08:00
parent c4809026c6
commit f7ae0f8edf
2 changed files with 1 additions and 2 deletions

View File

@ -159,6 +159,7 @@ func main() {
readTemplates()
mux := http.DefaultServeMux
mux.Handle("/favicon.ico", http.FileServer(path.Join(*root, "static"), "/"))
mux.Handle("/static/", http.FileServer(path.Join(*root, "static"), "/static/"))
mux.HandleFunc("/", mainHandler)

View File

@ -6,8 +6,6 @@
{.or}
<title>Camlistore</title>
{.end}
<link rel="icon" href="/static/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon">
<link href='http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="/static/all.css" type="text/css" media="all" charset="utf-8">
</head>