mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 10:01:11 +08:00
Fix favicon not updating on the client side when changed.
Regression from 1c6a2262b3b57d344a60402eee6b5cbcfab7cf6d. Documented the rational for include the url since we can't really test this properly.
This commit is contained in:
@ -124,7 +124,7 @@ class StaticController < ApplicationController
|
||||
is_asset_path
|
||||
|
||||
hijack do
|
||||
data = DistributedMemoizer.memoize("FAVICON#{SiteSetting.favicon&.id}", 60 * 30) do
|
||||
data = DistributedMemoizer.memoize("FAVICON#{SiteSetting.site_favicon_url}", 60 * 30) do
|
||||
favicon = SiteSetting.favicon
|
||||
next "" unless favicon
|
||||
|
||||
|
Reference in New Issue
Block a user