Skip to content

Commit

Permalink
fix: zhimg cdn use the url like unpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
lcandy2 authored and lisonge committed Jun 7, 2024
1 parent ff82786 commit 314d598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite-plugin-monkey/src/node/cdn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export const zhimg = (
exportVarName,
(version, name, _importName = '', resolveName = '') => {
const p = pathname || resolveName;
return `https://unpkg.zhimg.com/${name}/${version}/${p}`;
return `https://unpkg.zhimg.com/${name}@${version}/${p}`;
},
];
};
Expand Down

0 comments on commit 314d598

Please sign in to comment.