From b41091cfd46d3b598d111c225e0f0791e0d6948f Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 26 Jun 2018 21:40:03 -0400 Subject: [PATCH] ssl = true, change curl --- server.js | 2 +- test/dcard_source/curl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index 38f1afd..bb0a2e2 100644 --- a/server.js +++ b/server.js @@ -27,7 +27,7 @@ var Postgres = new pg.Client({ host: process.env.host, port: process.env.port, database: process.env.database, - ssl: false, + ssl: true, application_name: "tps_etl_api" }); Postgres.FirstRow = function(inSQL,args, inResponse) diff --git a/test/dcard_source/curl b/test/dcard_source/curl index b92fbae..631a26e 100644 --- a/test/dcard_source/curl +++ b/test/dcard_source/curl @@ -1 +1 @@ -curl -H "Content-Type: application/json" -X POST -d@./srce.json http://localhost/srce_set \ No newline at end of file +curl -H "Content-Type: application/json" -X POST -d@./srce.json http://localhost/source \ No newline at end of file