Skip to content

Commit 3818fe2

Browse files
authored
Subfolder store image location fix (#995)
1 parent 6dce8cc commit 3818fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function init() {
157157
let url = new URL(imagePath)
158158
url = url.pathname.replace('/media', '')
159159

160-
return `/storage/${store}/resizes/${size}/magento${url}`
160+
return window.url(`/storage/${store}/resizes/${size}/magento${url}`)
161161
},
162162
},
163163
computed: {

0 commit comments

Comments
 (0)