Skip to content

Commit

Permalink
load certficate as string
Browse files Browse the repository at this point in the history
  • Loading branch information
KatyH820 committed Apr 30, 2024
1 parent be56557 commit 0e4c644
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/server/src/functions/cron/getWeeklyHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const sslConfig = isProduction
? {
rejectUnauthorized: false,
ca: fs.readFileSync(
path.join(__dirname, "../../../certs", "global-bundle.pem"),
path.join(__dirname, "../../../certs", "global-bundle.pem").toString(),
),
}
: null;
Expand Down
2 changes: 1 addition & 1 deletion apps/server/src/functions/cron/updateDailyHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const sslConfig = isProduction
? {
rejectUnauthorized: false,
ca: fs.readFileSync(
path.join(__dirname, "../../../certs", "global-bundle.pem"),
path.join(__dirname, "../../../certs", "global-bundle.pem").toString(),
),
}
: null;
Expand Down

0 comments on commit 0e4c644

Please sign in to comment.