From dd6ee9544e7129b1735fe2377311ff2e2b7449c0 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 16 Aug 2016 23:00:50 -0700 Subject: [PATCH] Also allow 127.0.0.1 for push notificatons --- src/components/ha-sidebar.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ha-sidebar.html b/src/components/ha-sidebar.html index 69b2aa4822..87469104c4 100644 --- a/src/components/ha-sidebar.html +++ b/src/components/ha-sidebar.html @@ -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: {