Update replit onebox to accept .com

This commit is contained in:
Faris Masad 2021-10-19 12:12:57 -07:00 committed by Robin Ward
parent a1daf9fe53
commit 3fbfec06fc

View File

@ -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