mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-20 10:48:44 +00:00
Also allow 127.0.0.1 for push notificatons
This commit is contained in:
@@ -204,7 +204,8 @@ Polymer({
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
value: 'PushManager' in window &&
|
value: 'PushManager' in window &&
|
||||||
(document.location.protocol === 'https:' ||
|
(document.location.protocol === 'https:' ||
|
||||||
document.location.hostname === 'localhost'),
|
document.location.hostname === 'localhost' ||
|
||||||
|
document.location.hostname === '127.0.0.1'),
|
||||||
},
|
},
|
||||||
|
|
||||||
pushToggleChecked: {
|
pushToggleChecked: {
|
||||||
|
|||||||
Reference in New Issue
Block a user