mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 02:44:39 +08:00
FIX: Oneboix link target is discourse instance
This is the quickest fix to get Techcrunch oneboxing working. The right fix would be to update the oembed onebox to work properly for the "link" type.
This commit is contained in:
@ -56,7 +56,7 @@ module Oneboxer
|
||||
Entry.new(/^https?:\/\/(?:www\.)?bloomberg\.com\/.+/),
|
||||
Entry.new(/^https?:\/\/(?:www\.)?ign\.com\/.+/),
|
||||
Entry.new(/^https?:\/\/(?:www\.)?twitpic\.com\/.+/),
|
||||
Entry.new(/^https?:\/\/(?:www\.)?techcrunch\.com\/.+/),
|
||||
Entry.new(/^https?:\/\/(?:www\.)?techcrunch\.com\/.+/, false),
|
||||
Entry.new(/^https?:\/\/(?:www\.)?usatoday\.com\/.+/),
|
||||
Entry.new(/^https?:\/\/(?:www\.)?go\.com\/.+/),
|
||||
Entry.new(/^https?:\/\/(?:www\.)?businessinsider\.com\/.+/),
|
||||
|
Reference in New Issue
Block a user