diff --git a/help/_posts/1970-01-01-aosp.md b/help/_posts/1970-01-01-aosp.md index de55f51..4bdbc63 100644 --- a/help/_posts/1970-01-01-aosp.md +++ b/help/_posts/1970-01-01-aosp.md @@ -134,7 +134,7 @@ url = https://{{ site.hostname }}/git/AOSP/platform/manifest 或者可以不修改文件,而执行 ``` -git config --global url.https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/.insteadof https://android.googlesource.com +git config --global url.https://{{ site.hostname }}/git/AOSP/.insteadof https://android.googlesource.com ``` ### FAQ diff --git a/help/_posts/2019-02-27-flutter.md b/help/_posts/2019-02-27-flutter.md index 35785b0..4bbcbc6 100644 --- a/help/_posts/2019-02-27-flutter.md +++ b/help/_posts/2019-02-27-flutter.md @@ -36,7 +36,7 @@ allprojects { repositories { google() jcenter() - maven { url 'https://mirrors.tuna.tsinghua.edu.cn/flutter/download.flutter.io' } + maven { url 'https://{{ site.hostname }}/flutter/download.flutter.io' } } } ``` diff --git a/help/_posts/2020-09-10-llvm-project.git.md b/help/_posts/2020-09-10-llvm-project.git.md index 839e9a7..1e0afd4 100644 --- a/help/_posts/2020-09-10-llvm-project.git.md +++ b/help/_posts/2020-09-10-llvm-project.git.md @@ -31,5 +31,5 @@ git remote set-url origin https://{{ site.hostname }}/git/llvm-project.git 注: -* 如需要各个子项目的发布版本代码,请至 [GitHub Release 镜像](https://mirrors.tuna.tsinghua.edu.cn/github-release/llvm/llvm-project/) 下载。 +* 如需要各个子项目的发布版本代码,请至 [GitHub Release 镜像](https://{{ site.hostname }}/github-release/llvm/llvm-project/) 下载。 * 如需要 LLVM 合并为 monorepo 前的各个子仓库(已经不再更新),请至 [此页面](/help/llvm/) 查看使用帮助。 diff --git a/help/_posts/2020-09-19-hugging-face-models.md b/help/_posts/2020-09-19-hugging-face-models.md index 5ba5110..b37bf77 100644 --- a/help/_posts/2020-09-19-hugging-face-models.md +++ b/help/_posts/2020-09-19-hugging-face-models.md @@ -23,5 +23,5 @@ AutoModel.from_pretrained('bert-base-uncased', mirror='tuna') 目前内置的两个来源为 `tuna` 与 `bfsu`。此外,也可以显式提供镜像地址,如: ```python -AutoModel.from_pretrained('bert-base-uncased', mirror='https://mirrors.tuna.tsinghua.edu.cn/hugging-face-models') +AutoModel.from_pretrained('bert-base-uncased', mirror='https://{{ site.hostname }}/hugging-face-models') ```