diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2024-08-17 12:20:53 +0200 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2024-08-17 12:20:53 +0200 |
| commit | 764965c441a789e0be417648716f575067d9201e (patch) | |
| tree | e241bb12184eb03cd7dfda40867e2751b7db0940 | |
| parent | 5b05f3bd147c6cf9421587565dea2b11640f1206 (diff) | |
| download | invidious-764965c441a789e0be417648716f575067d9201e.tar.gz invidious-764965c441a789e0be417648716f575067d9201e.tar.bz2 invidious-764965c441a789e0be417648716f575067d9201e.zip | |
Storyboards: Fix lint error
| -rw-r--r-- | src/invidious/videos/storyboard.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/videos/storyboard.cr b/src/invidious/videos/storyboard.cr index 35012663..a72c2f55 100644 --- a/src/invidious/videos/storyboard.cr +++ b/src/invidious/videos/storyboard.cr @@ -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/")}" |
