mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 18:03:38 +08:00
add HTG to the onebox opengraph whitelist
This commit is contained in:
parent
d44b73c17a
commit
ec0525ff37
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user