diff --git a/app/src/App.svelte b/app/src/App.svelte index 154479b..fc94b2f 100644 --- a/app/src/App.svelte +++ b/app/src/App.svelte @@ -4,9 +4,10 @@ import { connect } from './lib/socket'; import Stream from './components/Views/Stream.svelte'; import Controls from './components/Controls.svelte'; + import location from './lib/location'; onMount(() => { - connect('ws://leika.local'); + connect(`ws://${location}`); }); diff --git a/app/src/components/Views/Stream.svelte b/app/src/components/Views/Stream.svelte index 6e9ca60..19f2cfd 100644 --- a/app/src/components/Views/Stream.svelte +++ b/app/src/components/Views/Stream.svelte @@ -1,7 +1,8 @@