Skip to content

Commit b3f580f

Browse files
authored
Merge pull request #457 from wyangx/master
fix: 更新代理地址
2 parents fb2fdd8 + d0e951c commit b3f580f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ curl -fsSL https://get.docker.com | bash -s docker #国外服务器
310310
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun #国内服务器
311311
312312
# 下载项目里的 docker-compose.yaml
313-
wget https://ghproxy.com/https://raw.githubusercontent.com/hectorqin/reader/master/docker-compose.yaml
313+
wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/hectorqin/reader/master/docker-compose.yaml
314314
# 根据 docker-compose.yaml 里面的注释编辑所需配置
315315
vim docker-compose.yaml
316316
# 保存
@@ -337,10 +337,10 @@ docker-compose pull && docker-compose up -d
337337
```shell
338338
# 此脚本对甲骨文非Ubuntu系统,CentOS9可能不兼容。建议网上手动搜索
339339
#curl
340-
bash <(curl -L -s https://ghproxy.com/https://raw.githubusercontent.com/hectorqin/reader/master/reader.sh)
340+
bash <(curl -L -s https://mirror.ghproxy.com/https://raw.githubusercontent.com/hectorqin/reader/master/reader.sh)
341341
342342
#wget
343-
bash <(wget -qO- --no-check-certificate https://ghproxy.com/https://raw.githubusercontent.com/hectorqin/reader/master/reader.sh)
343+
bash <(wget -qO- --no-check-certificate https://mirror.ghproxy.com/https://raw.githubusercontent.com/hectorqin/reader/master/reader.sh)
344344
345345
```
346346

reader.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ install_dockercompose() {
7979
systemctl restart docker
8080
systemctl enable docker
8181
echo -e "${green} 正在安装docker-compose ${plain}"
82-
curl -L "https://ghproxy.com/https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose
82+
curl -L "https://mirror.ghproxy.com/https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose
8383
else
8484
echo -e "${green} 正在安装docker-compose ${plain}"
8585
apt update && apt install wget curl docker-compose -y
@@ -90,7 +90,7 @@ install_reader() {
9090
mkdir -p ${orgin_file_dir}/storage/data/default
9191
cd ${orgin_file_dir}
9292
rm docker-compose*
93-
wget https://ghproxy.com/https://raw.githubusercontent.com/hectorqin/reader/master/docker-compose.yml
93+
wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/hectorqin/reader/master/docker-compose.yml
9494
echo -e "${green} 正在配置默认书源 ${plain}"
9595
wget https://jihulab.com/aoaostar/legado/-/raw/release/cache/6c35d84798ddbf4aad3fe3f0fd6cec53dd788be8.json -O storage/data/default/bookSource.json
9696
# 判断是否合法json

0 commit comments

Comments
 (0)