ssl = true, change curl
This commit is contained in:
parent
fe025f6bf3
commit
b41091cfd4
@ -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)
|
||||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user