mirror of
https://github.com/discourse/discourse.git
synced 2025-04-13 21:42:27 +08:00
FIX: no need to pass cache
option in onebox
This commit is contained in:
parent
cb9702bf7a
commit
72bc0f82b9
@ -275,7 +275,6 @@ module Oneboxer
|
||||
return blank_onebox if uri.blank? || blacklisted_domains.map { |hostname| uri.hostname.match?(hostname) }.any?
|
||||
|
||||
options = {
|
||||
cache: {},
|
||||
max_width: 695,
|
||||
sanitize_config: Onebox::DiscourseOneboxSanitizeConfig::Config::DISCOURSE_ONEBOX
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user