Skip to content

Commit 8b8ca19

Browse files
refactor: SD-9364 remove content from prefix for compatibility with original version of handlebars
1 parent c9f8d6b commit 8b8ca19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helpers/lib/cdnify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module.exports = globals => {
5858
if (protocol === 'webdav:') {
5959
const supportedImageExtensions = ['jpg', 'jpeg', 'gif', 'png'];
6060
const isImage = supportedImageExtensions.some(ext => path.toLowerCase().includes(ext));
61-
const prefix = isImage ? 'images/stencil/original/content' : 'content'
61+
const prefix = isImage ? 'images/stencil/original' : ''
6262
return [cdnUrl, prefix, path].join('/');
6363
}
6464

0 commit comments

Comments
 (0)