Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
module.exports = config => {
const { APP_KEY, MASTER_SECRET } = config
JPush.client = JPush.buildClient(APP_KEY, MASTER_SECRET)
return JPush
}module.exports = app => {
const { APP_KEY, MASTER_SECRET } = app.$config.PUSH
JPush.client = JPush.buildClient(APP_KEY, MASTER_SECRET)
return JPush
}