mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-16 01:48:51 +00:00
Add aliases for watch route
This commit is contained in:
@@ -187,4 +187,8 @@ class Invidious::Routes::Watch < Invidious::Routes::BaseRoute
|
||||
|
||||
templated "watch"
|
||||
end
|
||||
|
||||
def redirect(env)
|
||||
return env.redirect "/watch?v=#{env.params.url["id"]}"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user