mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 08:47:41 +00:00
[.htaccess] Add rewrite rules for LATEST_VERSION and versions.json
This commit is contained in:
parent
c3c160f402
commit
c444b69644
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ RewriteRule ^g403/?$ https://github.com/ytdl-org/youtube-dl/blob/master/README.m
|
|||
RewriteRule ^format-selection/?$ https://github.com/ytdl-org/youtube-dl#format-selection [R=302,L,NE]
|
||||
RewriteRule ^output-template/?$ https://github.com/ytdl-org/youtube-dl#output-template [R=302,L,NE]
|
||||
|
||||
RewriteRule ^update/LATEST_VERSION$ https://ytdl-org.github.io/youtube-dl/update/LATEST_VERSION [R=302,L]
|
||||
RewriteRule ^update/versions.json https://ytdl-org.github.io/youtube-dl/update/versions.json [R=302,L]
|
||||
|
||||
RewriteRule ^latest/version/?$ latest_version [L,T=text/plain]
|
||||
RewriteRule ^latest_version/?$ - [T=text/plain]
|
||||
RewriteRule ^latest(?:/(.*))?$ /downloads/latest/$1 [R=302,L]
|
||||
|
|
Loading…
Reference in a new issue