Pushy didn't notice the .env
This commit is contained in:
parent
1f019784e8
commit
2ec3897f5f
1 changed files with 1 additions and 1 deletions
|
@ -21,6 +21,6 @@ module.exports = {
|
|||
})
|
||||
}, 5000) // If this is triggered too soon, the notifications won't work.
|
||||
|
||||
if (Pushy.isRegistered()) {Pushy.subscribe(process.env.Name).then(() => {}).catch((error) => {console.error(error)})}
|
||||
if (Pushy.isRegistered()) {Pushy.subscribe('AppName').then(() => {}).catch((error) => {console.error(error)})}
|
||||
}
|
||||
}
|
Reference in a new issue