mirror of
https://github.com/DeNNiiInc/Web-Page-Performance-Test.git
synced 2026-04-17 20:05:58 +00:00
Fix: Hardcode credentials in check script
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
const { Pool } = require('pg');
|
const { Pool } = require('pg');
|
||||||
const config = require('./lib/db-config');
|
const config = require('./lib/db-config');
|
||||||
|
// Force localhost for server-side check
|
||||||
|
config.host = 'localhost';
|
||||||
|
config.password = 'X@gon2005!#$'; // Ensure password is explicit just in case
|
||||||
const pool = new Pool(config);
|
const pool = new Pool(config);
|
||||||
|
|
||||||
async function checkData() {
|
async function checkData() {
|
||||||
|
|||||||
Reference in New Issue
Block a user