Browse Source

Allow latest without trailing slash

download-server-ytdl-org
Sergey M․ 9 years ago
parent
commit
b0035c3448
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .htaccess

+ 1
- 1
.htaccess View File

@ -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…
Cancel
Save