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
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ module Invidious::Videos
*, @url, @width, @height, @count, @interval, *, @url, @width, @height, @count, @interval,
@rows, @columns, @images_count @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 = URI.parse(HOST_URL)
@proxied_url.path = "/sb/#{authority}/#{@url.path.lchop("/sb/")}" @proxied_url.path = "/sb/#{authority}/#{@url.path.lchop("/sb/")}"