Skip to content

Commit

Permalink
fix ha port
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusandra committed Dec 28, 2024
1 parent baadbed commit ce8e05f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/scenes/frames/newFrameForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export const newFrameForm = kea<newFrameFormType>([
server_host:
typeof window !== 'undefined'
? `${window.location.hostname}:${
window.location.port || (window.location.protocol === 'https:' ? 443 : 80)
window.location.port === '8123'
? '8989' // using ingress with home assistant
: window.location.port || (window.location.protocol === 'https:' ? '443' : '80')
}`
: null,
} as FrameType,
Expand Down

0 comments on commit ce8e05f

Please sign in to comment.