← back to Interiordesignershowroom
Use Unix socket for showroom Postgres fallback
a482499ca783dadaa20a62ea5f972ac85be51cfa · 2026-09-11 08:26:08 -0700 · Steve Abrams
Files touched
Diff
commit a482499ca783dadaa20a62ea5f972ac85be51cfa
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Fri Sep 11 08:26:08 2026 -0700
Use Unix socket for showroom Postgres fallback
---
lib/db.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/db.js b/lib/db.js
index 134db62..ca95e2e 100644
--- a/lib/db.js
+++ b/lib/db.js
@@ -2,7 +2,7 @@
const { Pool } = require('pg');
const pool = new Pool({
- connectionString: process.env.DATABASE_URL || 'postgresql://localhost:5432/idshowroom',
+ connectionString: process.env.DATABASE_URL || 'postgresql:///idshowroom?host=/tmp',
max: 10,
});
← 6145bf4 Disclose AdSense cookies in privacy page
·
back to Interiordesignershowroom
·
Bump interiordesignershowroom to 0.5.1 after verified socket 420a619 →