Skip to content

Commit

Permalink
chore: update registry
Browse files Browse the repository at this point in the history
  • Loading branch information
luhc228 committed Nov 22, 2023
1 parent 4b85223 commit 2193c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/utils/getNpmRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default async function (npmName, materialConfig, publishConfig, enableUse
// 兼容老的用法
registry = process.env.REGISTRY;
} else if (isAliNpm(npmName)) {
registry = 'https://registry.npm.alibaba-inc.com';
registry = 'https://registry.anpm.alibaba-inc.com';
} else if (materialConfig && materialConfig.registry) {
registry = materialConfig.registry;
} else {
Expand Down

0 comments on commit 2193c87

Please sign in to comment.