Skip to content

Commit 98cb9b3

Browse files
authored
Subfolder store image location fix (#994)
1 parent 96e1f9d commit 98cb9b3

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
@@ -138,7 +138,7 @@ function init() {
138138
let url = new URL(imagePath)
139139
url = url.pathname.replace('/media', '')
140140

141-
return `/storage/${store}/resizes/${size}/magento${url}`
141+
return window.url(`/storage/${store}/resizes/${size}/magento${url}`)
142142
},
143143
},
144144
computed: {

0 commit comments

Comments
 (0)