Storyboards: Fix lint error

This commit is contained in:
Samantaz Fox 2024-08-17 12:20:53 +02:00
parent 5b05f3bd14
commit 764965c441
No known key found for this signature in database
GPG Key ID: F42821059186176E

View File

@ -22,7 +22,7 @@ module Invidious::Videos
*, @url, @width, @height, @count, @interval,
@rows, @columns, @images_count
)
authority = /(i\d?).ytimg.com/.match(@url.host.not_nil!).not_nil![1]?
authority = /(i\d?).ytimg.com/.match!(@url.host.not_nil!)[1]?
@proxied_url = URI.parse(HOST_URL)
@proxied_url.path = "/sb/#{authority}/#{@url.path.lchop("/sb/")}"