We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c9d0e1 commit 2f03c75Copy full SHA for 2f03c75
src/services/notifications/apn.js
@@ -10,7 +10,7 @@ if (!apnProvider) {
10
keyId: process.env.APPLE_APN_KEY_ID,
11
teamId: process.env.APPLE_TEAMID,
12
},
13
- production: false, // TODO: handle APLPHA/BETA/PRODUCTION
+ production: process.env.NODE_ENV === 'production', // TODO: handle APLPHA/BETA/PRODUCTION
14
};
15
16
if (_.filter(options.token, option => !option).length > 0) {
0 commit comments