backport updates

This commit is contained in:
AJ ONeal 2017-04-20 18:11:56 -06:00
parent fec5d7eb2f
commit 88bf27a4ac
1 changed files with 3 additions and 3 deletions

View File

@ -239,9 +239,9 @@ download_caddy()
caddy_pkg="caddy_${caddy_os}_$caddy_arch${caddy_arm}_custom$caddy_dl_ext"
caddy_dir="caddy_${caddy_os}_$caddy_arch${caddy_arm}_custom"
# new.caddyserver.com
#caddy_url="https://caddyserver.com/download/$caddy_os/$caddy_arch$caddy_arm?plugins=$caddy_features"
# current caddyserver.com
caddy_url="https://caddyserver.com/download/build?os=$caddy_os&arch=$caddy_arch&arm=$caddy_arm&features=$caddy_features"
caddy_url="https://caddyserver.com/download/$caddy_os/$caddy_arch$caddy_arm?plugins=$caddy_features"
# old caddyserver.com
#caddy_url="https://caddyserver.com/download/build?os=$caddy_os&arch=$caddy_arch&arm=$caddy_arm&features=$caddy_features"
echo "$caddy_url"
# Use $PREFIX for compatibility with Termux on Android