From 72bc0f82b9e0362588163f3e69ebdc1afc5ebf85 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Mon, 4 Nov 2019 10:59:28 +0530 Subject: [PATCH] FIX: no need to pass `cache` option in onebox --- lib/oneboxer.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/oneboxer.rb b/lib/oneboxer.rb index c77857ad574..54a1a3c9346 100644 --- a/lib/oneboxer.rb +++ b/lib/oneboxer.rb @@ -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 }