9 lines
269 B
JavaScript
9 lines
269 B
JavaScript
'use strict';
|
|
|
|
const prefixFileUrlWithBackendUrl = (fileURL)=>{
|
|
return !!fileURL && fileURL.startsWith('/') ? `${window.strapi.backendURL}${fileURL}` : fileURL;
|
|
};
|
|
|
|
exports.prefixFileUrlWithBackendUrl = prefixFileUrlWithBackendUrl;
|
|
//# sourceMappingURL=urls.js.map
|