Skip to content

Commit 744140f

Browse files
authored
Merge pull request #89 from CodeForBaltimore/HOTFIX-tls-addon
Adding tls
2 parents cf5702b + 9b8f7f7 commit 744140f

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"sequelize": "5.21.5",
5353
"supertest": "4.0.2",
5454
"swagger-ui-express": "4.1.3",
55+
"tls": "0.0.1",
5556
"uuid4": "1.1.4",
5657
"validator": "12.2.0"
5758
},

src/models/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ import Sequelize from 'sequelize';
22
import path from 'path';
33
import fs from 'fs';
44
import _ from 'lodash';
5+
import tls from 'tls';
6+
57
const rdsCa = fs.readFileSync('./rds-combined-ca-bundle.pem');
6-
console.log(__dirname)
78
let dbUrl;
89
if (process.env.DATABASE_URL) {
910
dbUrl = process.env.DATABASE_URL;

0 commit comments

Comments
 (0)