Skip to content

Commit

Permalink
fix caddy download link
Browse files Browse the repository at this point in the history
  • Loading branch information
233boy committed Jul 22, 2020
1 parent f946429 commit d6b5f0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/download-caddy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ _download_caddy_file() {
if [[ ! ${caddy_arch} ]]; then
echo -e "$red 获取 Caddy 下载参数失败!$none" && exit 1
fi
local caddy_download_link="https://caddyserver.com/download/linux/${caddy_arch}?license=personal"
# local caddy_download_link="https://caddyserver.com/download/linux/${caddy_arch}?license=personal"
local caddy_download_link="https://github.com/caddyserver/caddy/releases/download/v1.0.4/caddy_v1.0.4_linux_${caddy_arch}.tar.gz"

mkdir -p $caddy_tmp

Expand Down
2 changes: 1 addition & 1 deletion v2ray.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ none='\e[0m'
# Root
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1

_version="v3.33"
_version="v3.34"

cmd="apt-get"

Expand Down

0 comments on commit d6b5f0a

Please sign in to comment.