favicons
This commit is contained in:
@@ -508,7 +508,7 @@ def tracker_favicon(domain: str):
|
||||
enabled = bool(prefs and prefs.get("tracker_favicons_enabled"))
|
||||
static_url = tracker_cache.favicon_public_url(domain, enabled=enabled, create=True)
|
||||
if static_url:
|
||||
# Note: The API only discovers/cache-warms the icon; the browser receives the file from /static/data/tracker_favicons/.
|
||||
# Note: The API only discovers/cache-warms the icon; the browser receives the file from /static/tracker_favicons/.
|
||||
return redirect(static_url, code=302)
|
||||
abort(404)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user