← back to Dw Photo Capture
auto-save: 2026-06-25T09:33:15 (1 files) — server.js
ae60fb4c407fc0c8a79ee5e9d438eaa417849400 · 2026-06-25 09:33:18 -0700 · Steve Abrams
Files touched
Diff
commit ae60fb4c407fc0c8a79ee5e9d438eaa417849400
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Jun 25 09:33:18 2026 -0700
auto-save: 2026-06-25T09:33:15 (1 files) — server.js
---
server.js | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/server.js b/server.js
index 2b11626..815f03b 100644
--- a/server.js
+++ b/server.js
@@ -419,6 +419,13 @@ const appHandler = (req, res) => {
return send(res, 200, { total: items.length, items });
}
+ // ALL TWIL/Fentucci items (every product on the line, not just the photo worklist).
+ if (u.pathname === '/api/twil' && req.method === 'GET') {
+ const items = INDEX.map(x => ({ ...x, keep_images: !x.needs_create }))
+ .sort((a, b) => (a.title || '').localeCompare(b.title || ''));
+ return send(res, 200, { total: items.length, items });
+ }
+
if (u.pathname === '/api/reindex' && req.method === 'POST') {
buildCatalog().then(() => {}).catch(() => {});
return send(res, 200, { ok: true, indexing: true, current: CATALOG.length });
← ae3352b Live SKU scanner: HTTPS listener (:9891, self-signed cert) e
·
back to Dw Photo Capture
·
Add 🧵 All TWIL chip (every Fentucci/grasscloth item, not ju a2e7b32 →