mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
Allow latest without trailing slash
This commit is contained in:
parent
8c6f08911f
commit
b0035c3448
|
@ -14,7 +14,7 @@ RewriteRule ^g403$ https://github.com/rg3/youtube-dl/blob/master/README.md#i-ext
|
|||
|
||||
RewriteRule ^latest/version$ latest_version [L,T=text/plain]
|
||||
RewriteRule ^latest_version$ - [T=text/plain]
|
||||
RewriteRule ^latest/(.*)$ /downloads/latest/$1 [R=302,L]
|
||||
RewriteRule ^latest(?:/(.*))?$ /downloads/latest/$1 [R=302,L]
|
||||
|
||||
ErrorDocument 302 "302"
|
||||
|
||||
|
|
Loading…
Reference in a new issue