diff --git a/src/main/resources/web/auth.js b/src/main/resources/web/auth.js index 18362bd..419c898 100644 --- a/src/main/resources/web/auth.js +++ b/src/main/resources/web/auth.js @@ -400,6 +400,7 @@ $(() => { if (Notification.permission == "default") { Notification.requestPermission(); } - + $("#notificate").on("click", e => Notification.requestPermission()); + connect(); }); diff --git a/src/main/resources/web/index.html b/src/main/resources/web/index.html index d52eb97..927cbbc 100644 --- a/src/main/resources/web/index.html +++ b/src/main/resources/web/index.html @@ -62,6 +62,7 @@

WebSocket connection status: ?

CORS Proxy status: ?


+

Enable notifications