7 lines
228 B
JavaScript
7 lines
228 B
JavaScript
const prefixFileUrlWithBackendUrl = (fileURL)=>{
|
|
return !!fileURL && fileURL.startsWith('/') ? `${window.strapi.backendURL}${fileURL}` : fileURL;
|
|
};
|
|
|
|
export { prefixFileUrlWithBackendUrl };
|
|
//# sourceMappingURL=urls.mjs.map
|