mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-14 04:46:34 +00:00
Also allow 127.0.0.1 for push notificatons
This commit is contained in:
parent
af4af1e933
commit
dd6ee9544e
@ -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: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user