mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 08:49:25 +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
|
end
|
||||||
|
|
||||||
def self.preserve_fragment_url_hosts
|
def self.preserve_fragment_url_hosts
|
||||||
['http://github.com']
|
@preserve_fragment_url_hosts ||= ['http://github.com']
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.external_onebox(url)
|
def self.external_onebox(url)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user