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