Skip to content

Commit d876809

Browse files
authored
完善一些小细节
1 parent fe9156f commit d876809

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ periodHours = 1.0
115115
# 白名单中的IP不受限流限制
116116
whiteList = [
117117
"127.0.0.1",
118+
"172.17.0.0/16",
118119
"192.168.1.0/24"
119120
]
120121

src/config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ periodHours = 1.0
1616
# 白名单中的IP不受限流限制
1717
whiteList = [
1818
"127.0.0.1",
19+
"172.17.0.0/16",
1920
"192.168.1.0/24"
2021
]
2122

src/public/images.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ <h1 class="title">Docker离线镜像下载</h1>
581581
</div>
582582
<div class="feature">
583583
<span class="feature-icon">💾</span>
584-
<span>无需打包</span>
584+
<span>无需等待</span>
585585
</div>
586586
<div class="feature">
587587
<span class="feature-icon">🏗️</span>
@@ -642,7 +642,7 @@ <h2 class="section-title">多个镜像批量下载</h2>
642642

643643
<form id="batchForm">
644644
<div class="form-group">
645-
<label class="form-label" for="imagesTextarea">镜像列表,每行一个,会将多个镜像自动合并,符合官方标准,完全兼容docker load</label>
645+
<label class="form-label" for="imagesTextarea">镜像列表,每行一个,会将多个镜像自动合并,符合官方标准,兼容docker load</label>
646646
<textarea
647647
id="imagesTextarea"
648648
class="textarea"

src/public/index.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -609,10 +609,10 @@ <h1 class="hero-title">GitHub 文件加速</h1>
609609
<div class="card">
610610
<div class="card-header">
611611
<h2 class="card-title">
612-
快速生成加速链接
612+
快速转换加速链接
613613
</h2>
614614
<p class="card-description">
615-
输入GitHub文件或仓库链接,自动转换加速链接,可以直接在Github域名前面加上本站域名使用
615+
输入GitHub文件链接,自动转换加速链接,可以直接在Github文件链接前加上本站域名使用
616616
</p>
617617
</div>
618618

@@ -622,7 +622,7 @@ <h2 class="card-title">
622622
type="text"
623623
class="input"
624624
id="githubLinkInput"
625-
placeholder="请输入GitHub链接,例如:https://github.com/user/repo/releases/download/..."
625+
placeholder="请输入GitHub文件链接,例如:https://github.com/user/repo/releases/download/..."
626626
>
627627
<button class="button button-primary" id="formatButton">
628628
获取加速链接
@@ -653,12 +653,12 @@ <h3 class="card-title">
653653
🐳 Docker 镜像加速
654654
</h3>
655655
<p class="card-description">
656-
支持多种Registry,在镜像名前添加本站域名即可加速下载
656+
支持多种镜像仓库,在镜像名称前添加本站域名即可加速下载
657657
</p>
658658
</div>
659659

660660
<button class="docker-button" id="dockerButton">
661-
查看 Docker 镜像加速配置
661+
查看 Docker 镜像加速使用说明
662662
</button>
663663
</div>
664664
</div>
@@ -669,23 +669,23 @@ <h3 class="card-title">
669669
<button class="close-button" id="closeModal">&times;</button>
670670
<div class="modal-header">
671671
<h2 class="modal-title">Docker 镜像加速</h2>
672-
<p>支持多种Registry,在镜像名前添加本站域名即可加速下载</p>
672+
<p>支持多种镜像仓库,在镜像名称前添加本站域名即可加速下载</p>
673673
</div>
674674

675675
<div class="domain-examples">
676-
<strong>Docker Hub 官方镜像:</strong>
676+
<strong>Docker 官方镜像:</strong>
677677
docker pull <span class="domain-base"></span>/nginx
678678

679-
<strong>Docker Hub 第三方镜像</strong>
679+
<strong>Docker 镜像</strong>
680680
docker pull <span class="domain-base"></span>/user/image
681681

682-
<strong>GitHub Container Registry</strong>
682+
<strong>ghcr.io 镜像</strong>
683683
docker pull <span class="domain-base"></span>/ghcr.io/user/image
684684

685-
<strong>Quay.io Registry</strong>
685+
<strong>Quay.io 镜像</strong>
686686
docker pull <span class="domain-base"></span>/quay.io/org/image
687687

688-
<strong>Kubernetes Registry</strong>
688+
<strong>K8s 镜像</strong>
689689
docker pull <span class="domain-base"></span>/registry.k8s.io/pause:3.8
690690
</div>
691691
</div>

0 commit comments

Comments
 (0)