mirror of
https://github.com/discourse/discourse.git
synced 2025-04-02 20:19:38 +08:00
fix to add slideshare to the whitelist
This commit is contained in:
parent
2ff244a7ca
commit
d27164f045
@ -3,6 +3,7 @@ module Oneboxer
|
||||
module Whitelist
|
||||
def self.entries
|
||||
[
|
||||
Entry.new(/^https?:\/\/(?:www\.)?slideshare\.net\/.+/),
|
||||
Entry.new(/^https?:\/\/(?:www\.)?rottentomatoes\.com\/.+/),
|
||||
Entry.new(/^https?:\/\/(?:www\.)?cnn\.com\/.+/),
|
||||
Entry.new(/^https?:\/\/(?:www\.)?washingtonpost\.com\/.+/),
|
||||
|
Loading…
x
Reference in New Issue
Block a user