1
Fork 0

Use app name for subscription

This commit is contained in:
Korbs 2023-07-10 08:14:33 -04:00
parent 5ff2b02d48
commit e828ee7d93
No known key found for this signature in database

View file

@ -21,6 +21,6 @@ module.exports = {
})
}, 5000) // If this is triggered too soon, the notifications won't work.
if (Pushy.isRegistered()) {Pushy.subscribe('AppName').then(() => {}).catch((error) => {console.error(error)})}
if (Pushy.isRegistered()) {Pushy.subscribe(process.env.Name).then(() => {}).catch((error) => {console.error(error)})}
}
}