add SD_SAVE_DEBUG env variable

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-06-25 11:23:39 -04:00
parent 3d52e3fe9f
commit 6c3f0dd43b
3 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ class GalleryFile extends HTMLElement {
}
const ext = this.name.split('.').pop().toLowerCase();
if (!['jpg', 'jpeg', 'png', 'gif', 'webp', 'jxl', 'svg', 'mp4'].includes(ext)) {
console.error(`gallery: type=${ext} file=${this.name} unsupported`);
// console.error(`gallery: type=${ext} file=${this.name} unsupported`);
return;
}
this.hash = await getHash(`${this.folder}/${this.name}/${this.size}/${this.mtime}`); // eslint-disable-line no-use-before-define