Skip to content

Commit b493adb

Browse files
committed
fix: remove asset url protocol duplication
1 parent 2665ea6 commit b493adb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gatsby-source-contentful/src/image-helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ export function createUrl(imgUrl, options = {}) {
5252
}
5353
}
5454

55-
return `https:${imgUrl}?${searchParams.toString()}`
55+
return `${imgUrl}?${searchParams.toString()}`
5656
}

0 commit comments

Comments
 (0)