From 24715a9c4be97dae015515f7b01c99161f5b4bc9 Mon Sep 17 00:00:00 2001 From: ES-Alexander Date: Fri, 17 Jan 2025 19:52:06 +1100 Subject: [PATCH] src: defaults.ts: remove redundant protocol from global address --- src/assets/defaults.ts | 2 +- src/components/widgets/IFrame.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assets/defaults.ts b/src/assets/defaults.ts index a4ee75bff..9b2e61be4 100644 --- a/src/assets/defaults.ts +++ b/src/assets/defaults.ts @@ -121,7 +121,7 @@ export const defaultCustomWidgetContainers = [ ] const hostname = window.location.hostname -export const defaultBlueOsAddress = 'http://blueos-avahi.local' +export const defaultBlueOsAddress = 'blueos-avahi.local' export const defaultGlobalAddress = !hostname || hostname == 'localhost' ? defaultBlueOsAddress : hostname export const defaultUIGlassColor = { opacity: 0.9, bgColor: '#63636354', fontColor: '#FFFFFF', blur: 25 } export const widgetProfiles: Profile[] = [ diff --git a/src/components/widgets/IFrame.vue b/src/components/widgets/IFrame.vue index fd01ebfdc..4335e3416 100644 --- a/src/components/widgets/IFrame.vue +++ b/src/components/widgets/IFrame.vue @@ -115,7 +115,7 @@ onBeforeMount((): void => { return } widget.value.options = { - source: defaultBlueOsAddress, + source: 'http://' + defaultBlueOsAddress, } inputURL.value = defaultBlueOsAddress })