Remove debug info

This commit is contained in:
Omar Roth 2018-09-19 15:58:00 -05:00
parent 2c6f8022e6
commit bac66c798f
1 changed files with 0 additions and 2 deletions

View File

@ -264,8 +264,6 @@ def content_to_comment_html(content)
if url if url
url = URI.parse(url) url = URI.parse(url)
puts url.path
puts url.host
if !url.host || {"m.youtube.com", "www.youtube.com", "youtu.be"}.includes? url.host if !url.host || {"m.youtube.com", "www.youtube.com", "youtu.be"}.includes? url.host
if url.path == "/redirect" if url.path == "/redirect"
url = HTTP::Params.parse(url.query.not_nil!)["q"] url = HTTP::Params.parse(url.query.not_nil!)["q"]