mirror of
https://github.com/owncast/owncast.git
synced 2024-11-23 13:24:33 +03:00
3 lines
124 B
TypeScript
3 lines
124 B
TypeScript
export default function isPushNotificationSupported() {
|
|
return 'serviceWorker' in navigator && 'PushManager' in window;
|
|
}
|