iproved favicon caching / ID system
This commit is contained in:
parent
4a0738745a
commit
255acb360f
2 changed files with 20 additions and 23 deletions
4
text.go
4
text.go
|
@ -68,8 +68,8 @@ func HandleTextSearch(w http.ResponseWriter, settings UserSettings, query string
|
|||
|
||||
// First format the link
|
||||
prettyLink := FormatLinkHTML(r.URL)
|
||||
faviconID := faviconIDFromURL(r.URL)
|
||||
faviconURL := getFaviconProxyURL("", r.URL) //string(prettyLink.Domain)
|
||||
faviconID := faviconIDFromURL(prettyLink.RootURL)
|
||||
faviconURL := getFaviconProxyURL("", prettyLink.RootURL)
|
||||
|
||||
decoratedResults = append(decoratedResults, DecoratedResult{
|
||||
TextSearchResult: r,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue