JS Notificação da Desktop

 notify(message = '', title = '', logoUrl, redirectUrl) {
    Notification.requestPermission().then((result) => {
      console.log(result);
      const notification = new Notification(title, {
        icon: logoUrl,
        body: message,
      });
      notification.onclick = () => {
        window.open(redirectUrl);
      };
    });
  }
Comfortable Curlew