Skip to content

Commit

Permalink
fix: transform url startsWith double slash in transformUrl function
Browse files Browse the repository at this point in the history
  • Loading branch information
danpeen committed Jul 9, 2024
1 parent 6d8ac4d commit b4313ad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/utils/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,6 @@ export function isAbsolute(url: string) {
export function transformUrl(resolvePath: string, curPath: string) {
if (
curPath.startsWith('http') ||
curPath.startsWith('//') ||
curPath.startsWith('blob:')
) {
return curPath;
Expand Down

0 comments on commit b4313ad

Please sign in to comment.