Skip to content

Commit

Permalink
src: defaults.ts: remove redundant protocol from global address
Browse files Browse the repository at this point in the history
  • Loading branch information
ES-Alexander authored and rafaellehmkuhl committed Jan 17, 2025
1 parent 0771c15 commit 24715a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/assets/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = [
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/IFrame.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ onBeforeMount((): void => {
return
}
widget.value.options = {
source: defaultBlueOsAddress,
source: 'http://' + defaultBlueOsAddress,
}
inputURL.value = defaultBlueOsAddress
})
Expand Down

0 comments on commit 24715a9

Please sign in to comment.