mirror of
https://github.com/discourse/discourse.git
synced 2025-04-01 20:05:39 +08:00
FIX: onebox for dropbox video links not working
add dropbox to the list of ignore redirects for onebox links
This commit is contained in:
parent
dc42d4411d
commit
6fc5ece628
@ -18,7 +18,7 @@ module Oneboxer
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.ignore_redirects
|
def self.ignore_redirects
|
||||||
@ignore_redirects ||= ['http://store.steampowered.com', Discourse.base_url]
|
@ignore_redirects ||= ['http://www.dropbox.com','http://store.steampowered.com', Discourse.base_url]
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.preview(url, options=nil)
|
def self.preview(url, options=nil)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user