From 1a89b6e493af9fd608f65a0d3618077969171095 Mon Sep 17 00:00:00 2001 From: advplyr Date: Wed, 23 Feb 2022 17:01:11 -0600 Subject: [PATCH] Add:Chromecast non-secure alert --- client/components/app/Appbar.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/components/app/Appbar.vue b/client/components/app/Appbar.vue index 258a9959..8bf8e203 100644 --- a/client/components/app/Appbar.vue +++ b/client/components/app/Appbar.vue @@ -15,6 +15,9 @@ logo_dev + + cast +
@@ -130,6 +133,9 @@ export default { }, isChromecastInitialized() { return this.$store.state.globals.isChromecastInitialized + }, + isHttps() { + return location.protocol === 'https:' || process.env.NODE_ENV === 'development' } }, methods: {