Skip to content

Commit

Permalink
defaults: Use hostname for checking development build, instead of NOD…
Browse files Browse the repository at this point in the history
…E_ENV
  • Loading branch information
rafaellehmkuhl authored and patrickelectric committed Dec 11, 2023
1 parent 3cc314a commit d88249d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const defaultMiniWidgetManagerVars = {
configMenuOpen: false,
}

export const defaultGlobalAddress = process.env.NODE_ENV === 'development' ? 'blueos.local' : window.location.hostname
export const defaultGlobalAddress = window.location.hostname
export const widgetProfiles: Profile[] = [
{
name: 'ROV default',
Expand Down

0 comments on commit d88249d

Please sign in to comment.