From 3307e6ca519a3e89c8233e300d09b0084e9aafeb Mon Sep 17 00:00:00 2001 From: neo Date: Fri, 16 Apr 2021 16:39:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=9A=84=E6=96=9C=E6=9D=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dumi/theme/constants/index.ts | 14 +++++++------- docs/guide/faq.md | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.dumi/theme/constants/index.ts b/.dumi/theme/constants/index.ts index f06ab79..6b525f2 100644 --- a/.dumi/theme/constants/index.ts +++ b/.dumi/theme/constants/index.ts @@ -3,7 +3,7 @@ export const tencentMirror = { core: 'https://mirrors.cloud.tencent.com/homebrew/homebrew-core.git', linuxCore: 'https://mirrors.cloud.tencent.com/homebrew/linuxbrew-core.git', cask: 'https://mirrors.cloud.tencent.com/homebrew/homebrew-cask.git', - bottles: 'https://mirrors.cloud.tencent.com/homebrew-bottles/bottles/', + bottles: 'https://mirrors.cloud.tencent.com/homebrew-bottles/bottles', linuxBottles: '', }; @@ -13,9 +13,9 @@ export const tsinghuaMirror = { linuxCore: 'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/linuxbrew-core.git', cask: 'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git', - bottles: 'https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/bottles/', + bottles: 'https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/bottles', linuxBottles: - 'https://mirrors.tuna.tsinghua.edu.cn/linuxbrew-bottles/bottles/', + 'https://mirrors.tuna.tsinghua.edu.cn/linuxbrew-bottles/bottles', }; export const ustcMirror = { @@ -23,8 +23,8 @@ export const ustcMirror = { core: 'https://mirrors.ustc.edu.cn/homebrew-core.git', linuxCore: 'https://mirrors.ustc.edu.cn/linuxbrew-core.git', cask: 'https://mirrors.ustc.edu.cn/homebrew-cask.git', - bottles: 'https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/', - linuxBottles: 'https://mirrors.ustc.edu.cn/linuxbrew-bottles/bottles/', + bottles: 'https://mirrors.ustc.edu.cn/homebrew-bottles/bottles', + linuxBottles: 'https://mirrors.ustc.edu.cn/linuxbrew-bottles/bottles', }; export const bfsuMirror = { @@ -32,8 +32,8 @@ export const bfsuMirror = { core: 'https://mirrors.bfsu.edu.cn/git/homebrew/homebrew-core.git', linuxCore: 'https://mirrors.bfsu.edu.cn/git/homebrew/linuxbrew-core.git', cask: 'https://mirrors.bfsu.edu.cn/git/homebrew/homebrew-cask.git', - bottles: 'https://mirrors.bfsu.edu.cn/homebrew-bottles/bottles/', - linuxBottles: 'https://mirrors.bfsu.edu.cn/linuxbrew-bottles/bottles/', + bottles: 'https://mirrors.bfsu.edu.cn/homebrew-bottles/bottles', + linuxBottles: 'https://mirrors.bfsu.edu.cn/linuxbrew-bottles/bottles', }; export const mirrorData: { [key: string]: any } = { diff --git a/docs/guide/faq.md b/docs/guide/faq.md index 30d6ff4..ad4d5fa 100644 --- a/docs/guide/faq.md +++ b/docs/guide/faq.md @@ -60,7 +60,7 @@ export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles 比如中科大镜像就是这个了: ```shell -export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/ +export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles/bottles ``` 3. 更新环境变量,以 `~/.zprofile` 为例,更新内容后执行: