mirror of
https://github.com/discourse/discourse.git
synced 2025-03-23 08:25:43 +08:00
DEV: assign constant to preserve_fragment_url_hosts
This commit is contained in:
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user