Security: sanitize database credentials and IP addresses from files and configs
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
ab7fcd41d8
commit
ef1ccea0ad
5 files changed
+12
-13
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ const { Pool } = pg;
|
||||
export const pool = new Pool({
|
||||
connectionString:
|
||||
process.env.DATABASE_URL ||
|
||||
"postgresql://managment_web:hD3H9seTqX1GJMu1mDJBGDYr@185.36.145.12:5432/ManagmentWebSite_Db",
|
||||
undefined, // Rely on process.env.DATABASE_URL, or ensure it's set upstream
|
||||
max: 5,
|
||||
idleTimeoutMillis: 30000,
|
||||
connectionTimeoutMillis: 10000,
|
||||
|
||||
Reference in new issue
Block a user