mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
FIX: use short_path
of flair upload to get signed url for secure media.
If we use `upload.url` for secure urls then the images won't render.
This commit is contained in:
@ -750,7 +750,7 @@ class Group < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def flair_url
|
||||
flair_icon.presence || flair_upload&.url
|
||||
flair_icon.presence || flair_upload&.short_path
|
||||
end
|
||||
|
||||
protected
|
||||
|
Reference in New Issue
Block a user