Skip to content

Commit

Permalink
fix: apnUrl var
Browse files Browse the repository at this point in the history
  • Loading branch information
jzunigax2 committed Jul 3, 2024
1 parent 0b116c6 commit 4e18d31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ STRIPE_SK_TEST=sk_test_R3Ny2VG7nPgeJFrtXdt8mrPc
SENDGRID_MODE_SANDBOX=false

# APN
APN_URL=https://api.sandbox.push.apple.com
APN_BUNDLE_ID=
APN_TEAM_ID=
APN_KEY_ID=
Expand Down
2 changes: 1 addition & 1 deletion src/config/initializers/apn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default class Apn {
private reconnectDelay = 1000;
private readonly bundleId = process.env.APN_BUNDLE_ID;

private readonly apnUrl = process.env.NODE_ENV as string;
private readonly apnUrl = process.env.APN_URL as string;

private jwt: string | null = null;
private jwtGeneratedAt = 0;
Expand Down

0 comments on commit 4e18d31

Please sign in to comment.