☂️ Adds dynamic location service

This commit is contained in:
Rune Harlyk
2023-05-13 16:52:27 +02:00
parent 531945397c
commit 89bf6527b5
3 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
<script lang="ts">
import { onDestroy } from 'svelte';
import location from '../../lib/location';
let videoStream = '//leika.local/stream';
let videoStream = `//${location}/stream`;
onDestroy(() => {
videoStream = '#';