diff options
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 6 |
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') }, |