Files
pole-book/server/node_modules/@strapi/upload/dist/admin/utils/prefixFileUrlWithBackendUrl.mjs

7 lines
251 B
JavaScript

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