chore: apply ruff formatting and fix whitespace issues
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -24,7 +24,7 @@ function isDirectFileUrl(url) {
|
||||
'.txt', '.csv', '.rtf', '.jpg', '.jpeg', '.png', '.gif',
|
||||
'.bmp', '.tiff', '.webp', '.svg'
|
||||
];
|
||||
|
||||
|
||||
const urlLower = url.toLowerCase();
|
||||
return fileExtensions.some(ext => urlLower.endsWith(ext));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user