Add favicon

This commit is contained in:
Dan Sosedoff
2014-11-03 19:06:05 -06:00
parent c2c8b3d073
commit 958ea6813c
3 changed files with 6 additions and 1 deletions

4
api.go
View File

@@ -20,6 +20,10 @@ func assetContentType(name string) string {
return "application/javascript"
}
if strings.Contains(name, ".icon") {
return "image/x-icon"
}
return "text/plain"
}