mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 02:15:31 +08:00
add HTG to the onebox opengraph whitelist
This commit is contained in:
@ -73,6 +73,7 @@ module Oneboxer
|
||||
Entry.new(/^https?:\/\/(?:www\.)?thinkgeek\.com\/.+/),
|
||||
Entry.new(/^https?:\/\/(?:www\.)?theonion\.com\/.+/),
|
||||
Entry.new(/^https?:\/\/(?:www\.)?tumblr\.com\/.+/, false),
|
||||
Entry.new(/^https?:\/\/(?:www\.)?howtogeek\.com\/.+/, false),
|
||||
Entry.new(/\/\d{4}\/\d{2}\/\d{2}\//, false), # wordpress
|
||||
]
|
||||
end
|
||||
|
Reference in New Issue
Block a user