mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-01-21 22:31:56 +00:00
videos: remove unused 'VideoRedirect' exception
This commit is contained in:
@@ -14,8 +14,6 @@ module Invidious::Routes::API::Manifest
|
||||
|
||||
begin
|
||||
video = get_video(id, region: region)
|
||||
rescue ex : VideoRedirect
|
||||
return env.redirect env.request.resource.gsub(id, ex.video_id)
|
||||
rescue ex : NotFoundException
|
||||
haltf env, status_code: 404
|
||||
rescue ex
|
||||
|
||||
Reference in New Issue
Block a user