mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 16:14:15 +08:00
Update replit onebox to accept .com
This commit is contained in:
parent
a1daf9fe53
commit
3fbfec06fc
|
@ -6,7 +6,7 @@ module Onebox
|
|||
include Engine
|
||||
include StandardEmbed
|
||||
|
||||
matches_regexp(/^https?:\/\/repl\.it\/.+/)
|
||||
matches_regexp(/^https?:\/\/(replit\.com|repl\.it)\/.+/)
|
||||
always_https
|
||||
|
||||
def placeholder_html
|
||||
|
|
Loading…
Reference in New Issue
Block a user