From 4814d05563c504efc1f8c47c200d183d6666142e Mon Sep 17 00:00:00 2001 From: samueleaton Date: Sat, 7 May 2016 18:23:00 -0600 Subject: [PATCH] changes example information --- examples/postgres.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/examples/postgres.js b/examples/postgres.js index 292d353..9e98548 100644 --- a/examples/postgres.js +++ b/examples/postgres.js @@ -7,12 +7,10 @@ const pg = require('pg').native; // install pg AND pg-native /********** CONFIG *************/ const autosshConfig = { - host: parsedForm.sshHost, - username: parsedForm.sshUsername, + host: '111.222.333.444', + username: 'my_ssh_username', localPort: 'auto', - remotePort: parsedForm.connectionPort, - sshPort: parsedForm.sshPort, - privateKey: parsedForm.sshPrivateKey + remotePort: 5432 }; const pgConfig = { @@ -20,7 +18,7 @@ const pgConfig = { database: 'my_database', password: 'my_password', host: 'localhost', - port: '5432' + port: 5432 };