feat: Implement category and product filtering in UI, add category exclusion, and refine product synchronization with active status and improved rowversion
This commit is contained in:
@@ -30,7 +30,9 @@ export function registerImages(app, cacheDir) {
|
||||
}
|
||||
}, (err) => {
|
||||
if (err) {
|
||||
console.error(`❌ Error serving image ${resolvedPath}:`, err);
|
||||
if (err.code !== 'ENOENT') {
|
||||
console.error(`❌ Error serving image ${resolvedPath}:`, err);
|
||||
}
|
||||
if (!res.headersSent) {
|
||||
res.status(404).send('Image not found');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user