mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: correctly invalidate theme css cache on scheme change
This commit is contained in:
@@ -251,7 +251,7 @@ class Stylesheet::Manager
|
||||
raise "attempting to look up theme digest for invalid field"
|
||||
end
|
||||
|
||||
Digest::SHA1.hexdigest scss.to_s
|
||||
Digest::SHA1.hexdigest(scss.to_s + color_scheme_digest.to_s)
|
||||
end
|
||||
|
||||
def color_scheme_digest
|
||||
|
Reference in New Issue
Block a user