← back to Sample Followup Sweep
yoloforever c6: triage Aug-14 follow-up replies (Maya discontinued / Kravet delivered / Pindler mis-vendored); gated FM actions drafted to pending-approval
e1ab42d74d6e1fba65664cca98ca1cf3e0591f23 · 2026-08-15 11:16:55 -0700 · Steve Abrams
Files touched
Diff
commit e1ab42d74d6e1fba65664cca98ca1cf3e0591f23
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Sat Aug 15 11:16:55 2026 -0700
yoloforever c6: triage Aug-14 follow-up replies (Maya discontinued / Kravet delivered / Pindler mis-vendored); gated FM actions drafted to pending-approval
---
server.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/server.js b/server.js
index 4e0aabe..a6232be 100644
--- a/server.js
+++ b/server.js
@@ -109,7 +109,11 @@ const server = http.createServer(async (req, res) => {
const addrs = String(payload.to).split(',').map(a => a.trim().toLowerCase()).filter(a => a.includes('@'));
if (addrs.length && addrs.every(a => be[a])) return send(res, 409, { error: 'already sent to this vendor — click again to force-resend', to: payload.to, alreadySent: true });
}
- const genv = (k) => { try { const m = fs.readFileSync('/Users/macstudio3/Projects/george-gmail/.env', 'utf8').match(new RegExp('^' + k + '=(.+)$', 'm')); return m ? m[1].trim() : ''; } catch (e) { return ''; } };
+ // George's canonical creds live in the DW-MCP .env (the file George's server loads into `creds`);
+ // GEORGE_EXTERNAL_SEND_TOKEN lives in george-gmail/.env. Search both, canonical first. (2026-08-15 fix:
+ // george-gmail/.env has no GEORGE_BASIC_AUTH, so the old single-file read sent an empty pass → 401.)
+ const _GENV_FILES = ['/Users/macstudio3/Projects/Designer-Wallcoverings/DW-MCP/.env', '/Users/macstudio3/Projects/george-gmail/.env'];
+ const genv = (k) => { for (const f of _GENV_FILES) { try { const m = fs.readFileSync(f, 'utf8').match(new RegExp('^' + k + '=(.+)$', 'm')); if (m) return m[1].trim(); } catch (e) {} } return ''; };
let gauth = genv('GEORGE_BASIC_AUTH'); if (!gauth.includes(':')) gauth = 'admin:' + genv('GEORGE_BASIC_AUTH_PASS');
const token = genv('GEORGE_EXTERNAL_SEND_TOKEN');
if (!token) return send(res, 500, { error: 'GEORGE_EXTERNAL_SEND_TOKEN not configured' });
← 9eed1e1 yoloforever c4: misfile sweep — no real cross-vid misfiles (
·
back to Sample Followup Sweep
·
yoloforever c8: sent Greenland + Olivia&Poppy follow-ups (St df1406f →