Skip to content

Commit e300d09

Browse files
committed
Try a SSL connection
1 parent 0b293fd commit e300d09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/services/db.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ if (settings == undefined) {
55
settings = "pg://localhost:5432/javascriptcom";
66
}
77

8+
pg.defaults.ssl = true;
89

910
/* A parameterized query. An empty args array may be passed if there are no paramaters.
1011
* Results are passed to a callback.

0 commit comments

Comments
 (0)