mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-10-26 00:28:42 +00:00
The old site's icon was kept until it aged past the 24h refetch threshold, or forever when the new site has no icon or the watch uses a fetcher that doesn't fetch favicons. Watch.update() now clears favicon.* and the filename cache when the URL changes, which covers both the UI edit form and the API. favicon_is_expired() then sees no file and the next check fetches the new icon. A change from an empty URL is ignored, since every fresh Watch object starts with url '' and is filled from storage via update(). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>