lib/onebox/helpers.rb in onebox-2.2.10 vs lib/onebox/helpers.rb in onebox-2.2.11
- old
+ new
@@ -5,10 +5,10 @@
module Onebox
module Helpers
class DownloadTooLarge < StandardError; end
- IGNORE_CANONICAL_DOMAINS ||= ['www.instagram.com']
+ IGNORE_CANONICAL_DOMAINS ||= ['www.instagram.com', 'youtube.com']
def self.symbolize_keys(hash)
return {} if hash.nil?
hash.inject({}) do |result, (key, value)|