mirror of
https://github.com/strapi/strapi.git
synced 2025-08-18 05:37:10 +00:00
4 lines
124 B
JavaScript
4 lines
124 B
JavaScript
const canDownloadFile = fileURL => typeof fileURL === 'string' && fileURL.startsWith('/');
|
|
|
|
export default canDownloadFile;
|