Use different source for fallback thumbnail
This commit is contained in:
parent
24fc14ac7a
commit
b388181cd4
|
@ -280,7 +280,7 @@ get "/search" do |env|
|
||||||
if thumbnail
|
if thumbnail
|
||||||
video["thumbnail"] = thumbnail.content
|
video["thumbnail"] = thumbnail.content
|
||||||
else
|
else
|
||||||
video["thumbnail"] = "http://via.placeholder.com/246x138"
|
video["thumbnail"] = "https://dummyimage.com/246x138"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue