mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-24 09:24:33 +01:00
Write downloads .htaccess, not main one
This commit is contained in:
parent
54a1852f08
commit
644f92f6a5
@ -16,7 +16,7 @@ for f in $(ls "downloads/$version/"); do \
|
||||
done
|
||||
|
||||
ln -sf --no-target-directory "$version" "downloads/latest"
|
||||
/bin/echo -e "RewriteEngine On\nRewriteRule latest(.*) /downloads/${version}\$1 [L,R=302]" > .htaccess
|
||||
/bin/echo -e "RewriteEngine On\nRewriteRule latest(.*) /downloads/${version}\$1 [L,R=302]" > downloads/.htaccess
|
||||
|
||||
echo -n "$version" > latest/version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user