Skip to content

Commit

Permalink
fix: add missed parameter to prefixFileUrlWithBackendUrl, closes #165
Browse files Browse the repository at this point in the history
  • Loading branch information
nshenderov committed Sep 30, 2024
1 parent 86c4476 commit ca7873e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/src/utils/prefixFileUrlWithBackendUrl.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const prefixFileUrlWithBackendUrl = () => {
export const prefixFileUrlWithBackendUrl = (fileURL) => {
return !!fileURL && fileURL.startsWith('/')
? `${window.strapi.backendURL}${fileURL}`
: fileURL;
Expand Down

0 comments on commit ca7873e

Please sign in to comment.