api: production for apple iap verifier (#1719)

This commit is contained in:
Huang Xin
2025-07-31 07:41:55 +08:00
committed by GitHub
parent bd4bf459e3
commit efd85e67d9
@@ -129,8 +129,7 @@ export const getAppleIAPVerifier = () => {
process.env['APPLE_IAP_PRIVATE_KEY_BASE64']! || '',
'base64',
).toString('utf-8'),
environment: 'sandbox',
// environment: process.env.NODE_ENV === 'production' ? 'production' : 'sandbox',
environment: process.env.NODE_ENV === 'production' ? 'production' : 'sandbox',
});
}
return defaultIAPVerifier;