mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08:00
Revert "FIX: serve category images from the CDN"
This reverts commit d0962d6e5a2ed1aec57e04bba661c080b759ddb8.
This commit is contained in:
@ -40,14 +40,4 @@ class BasicCategorySerializer < ApplicationSerializer
|
||||
def notification_level
|
||||
object.notification_level
|
||||
end
|
||||
|
||||
def logo_url
|
||||
url = object.logo_url
|
||||
url.present? && UrlHelper.is_local(url) ? UrlHelper.schemaless(UrlHelper.absolute(url)) : url
|
||||
end
|
||||
|
||||
def background_url
|
||||
url = object.background_url
|
||||
url.present? && UrlHelper.is_local(url) ? UrlHelper.schemaless(UrlHelper.absolute(url)) : url
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user