DEV: assign constant to preserve_fragment_url_hosts

This commit is contained in:
Arpit Jalan 2018-12-19 17:37:39 +05:30
parent c928386c3e
commit e5fd018f44

@ -260,7 +260,7 @@ module Oneboxer
end
def self.preserve_fragment_url_hosts
['http://github.com']
@preserve_fragment_url_hosts ||= ['http://github.com']
end
def self.external_onebox(url)