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:
Régis Hanol 2013-05-13 23:12:05 +02:00
parent bdca804796
commit 336d59391e

View File

@ -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\/.+/),