mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 08:44:40 +08:00
FIX: bypass finaldestination check for Vimeo links.
This commit is contained in:
@ -23,7 +23,7 @@ module Oneboxer
|
||||
end
|
||||
|
||||
def self.ignore_redirects
|
||||
@ignore_redirects ||= ['http://www.dropbox.com', 'http://store.steampowered.com', Discourse.base_url]
|
||||
@ignore_redirects ||= ['http://www.dropbox.com', 'http://store.steampowered.com', 'http://vimeo.com/', Discourse.base_url]
|
||||
end
|
||||
|
||||
def self.force_get_hosts
|
||||
|
Reference in New Issue
Block a user