Skip to content

Commit

Permalink
chore: replace version request (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn authored Nov 18, 2024
1 parent f525d96 commit 9012107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/components/td-header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export default define({
set: (_host, value) => value,
connect: (host) => {
allComponentsNpmUrl.forEach((item) => {
fetch(`https://mirrors.tencent.com/npm/${item}`)
fetch(`https://service-edbzjd6y-1257786608.hk.apigw.tencentcs.com/release/npm/versions/${item}`)
.then((res) => res.json())
.then((res) => {
const latestVersion = res?.['dist-tags']?.['latest'];
Expand Down

0 comments on commit 9012107

Please sign in to comment.