Also allow 127.0.0.1 for push notificatons

This commit is contained in:
Paulus Schoutsen 2016-08-16 23:00:50 -07:00
parent af4af1e933
commit dd6ee9544e

View File

@ -204,7 +204,8 @@ Polymer({
type: Boolean,
value: 'PushManager' in window &&
(document.location.protocol === 'https:' ||
document.location.hostname === 'localhost'),
document.location.hostname === 'localhost' ||
document.location.hostname === '127.0.0.1'),
},
pushToggleChecked: {