Skip to content

Commit

Permalink
fix ssl issue (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
51ngul4r1ty authored Apr 30, 2021
1 parent 72caaa4 commit 5f3db07
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "atoll",
"version": "0.40.4",
"version": "0.40.7",
"author": {
"name": "Kevin Berry",
"email": "[email protected]"
Expand Down
3 changes: 3 additions & 0 deletions scripts/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ if (!dbConfig) {
const buildOptions = () /*: Options*/ => ({
host: dbConfig.host,
dialect: "postgres",
dialectOptions: {
ssl: true
},
pool: {
max: 10,
min: 0,
Expand Down
3 changes: 3 additions & 0 deletions src/server/dataaccess/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ if (!dbConfig) {
const buildOptions = (): Options => ({
host: dbConfig.host,
dialect: "postgres",
dialectOptions: {
ssl: true
},
pool: {
max: 10,
min: 0,
Expand Down

0 comments on commit 5f3db07

Please sign in to comment.