Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue
index 79d11ad..e54a843 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -314,6 +314,12 @@ export default {
return
}
+ if (window.location.protocol === 'http:') {
+ console.debug('Notifications require HTTPS')
+ this.webNotificationsGranted = false
+ return
+ }
+
console.info('Notifications permissions not yet requested')
},