Skip to content

Commit

Permalink
fix(doc-ui): module-install
Browse files Browse the repository at this point in the history
Update constants.ts
  • Loading branch information
VirgilClyne committed Oct 27, 2024
1 parent aa36bed commit b1ba504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/doc-ui/src/module-install/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const APP_INSTALL_INFO_MAP: Record<
},
stash: {
urlTemplate: (url) => {
return `https://link.stash.ws/install-override/${url.replace('^https?://', '')}`;
return `https://link.stash.ws/install-override/${url.replace(/^https?:\/\//, '')}`;
},
manualInstall: {
urlTitle: '覆写地址',
Expand Down

0 comments on commit b1ba504

Please sign in to comment.