mirror of https://github.com/iv-org/invidious.git
Remove debug info
This commit is contained in:
parent
2c6f8022e6
commit
bac66c798f
|
@ -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"]
|
||||||
|
|
Loading…
Reference in New Issue