← back to Designer Wallcoverings
security: pickup DW-Agents strip of hardcoded DW2025secure DSN (no rotation/deploy)
e9a4650ab005bc3dfcec2c393c9f2700777f120a · 2026-05-30 11:41:19 -0700 · Steve
Files touched
M DW-Agents/dw-agents/shared-database.tsM DW-Agents/ecosystem.config.js
Diff
commit e9a4650ab005bc3dfcec2c393c9f2700777f120a
Author: Steve <steve@designerwallcoverings.com>
Date: Sat May 30 11:41:19 2026 -0700
security: pickup DW-Agents strip of hardcoded DW2025secure DSN (no rotation/deploy)
---
DW-Agents/dw-agents/shared-database.ts | 2 +-
DW-Agents/ecosystem.config.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/DW-Agents/dw-agents/shared-database.ts b/DW-Agents/dw-agents/shared-database.ts
index 9db4c2da..805d38b8 100644
--- a/DW-Agents/dw-agents/shared-database.ts
+++ b/DW-Agents/dw-agents/shared-database.ts
@@ -40,7 +40,7 @@ class Database {
log: process.env.NODE_ENV === 'development' ? ['query', 'error', 'warn'] : ['error'],
datasources: {
db: {
- url: process.env.DATABASE_URL || 'postgresql://dw_admin:DW2025secure@127.0.0.1:5432/dw_unified?schema=public'
+ url: process.env.DATABASE_URL || 'postgresql://dw_admin@127.0.0.1:5432/dw_unified?schema=public'
}
}
});
diff --git a/DW-Agents/ecosystem.config.js b/DW-Agents/ecosystem.config.js
index 0d614ff6..d6c7d31b 100644
--- a/DW-Agents/ecosystem.config.js
+++ b/DW-Agents/ecosystem.config.js
@@ -131,7 +131,7 @@ module.exports = {
NODE_ENV: 'production',
PORT: 9877,
NODE_OPTIONS: '--import tsx',
- DATABASE_URL: 'postgresql://dw_admin:DW2025secure@127.0.0.1:5432/dw_unified?schema=public'
+ DATABASE_URL: 'postgresql://dw_admin@127.0.0.1:5432/dw_unified?schema=public'
},
error_file: '/root/DW-Agents/logs/agent-sku-error.log',
out_file: '/root/DW-Agents/logs/agent-sku-out.log',
← 19c8a377 security: strip hardcoded secret -> env-first/passwordless.
·
back to Designer Wallcoverings
·
gitignore: untrack 2 .env.local files (leaked Shopify + Anth 86f9d056 →