change repo to mirrors.huawei

(cherry picked from commit 8225a99152644be1fee38fbfa8deea4c819c2e04)
This commit is contained in:
薄皮小笼包 2021-09-06 03:07:52 +00:00 committed by openeuler-sync-bot
parent c0568dbf4c
commit 1c6c19da43

View File

@ -150,10 +150,10 @@ website for A-Ops, deployed by Nginx
%autosetup -n %{name}-v%{version} %autosetup -n %{name}-v%{version}
# prepare for web # prepare for web
pushd aops-web pushd aops-web
npm config set registry https://repo.huaweicloud.com/repository/npm/ npm config set registry https://mirrors.huaweicloud.com/repository/npm/
npm cache clean -f npm cache clean -f
npm install --global yarn npm install --global yarn
yarn config set registry https://repo.huaweicloud.com/repository/npm yarn config set registry https://mirrors.huaweicloud.com/repository/npm
popd popd