ssl = true, change curl

This commit is contained in:
Paul Trowbridge 2018-06-26 21:40:03 -04:00
parent fe025f6bf3
commit b41091cfd4
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ var Postgres = new pg.Client({
host: process.env.host, host: process.env.host,
port: process.env.port, port: process.env.port,
database: process.env.database, database: process.env.database,
ssl: false, ssl: true,
application_name: "tps_etl_api" application_name: "tps_etl_api"
}); });
Postgres.FirstRow = function(inSQL,args, inResponse) Postgres.FirstRow = function(inSQL,args, inResponse)

View File

@ -1 +1 @@
curl -H "Content-Type: application/json" -X POST -d@./srce.json http://localhost/srce_set curl -H "Content-Type: application/json" -X POST -d@./srce.json http://localhost/source