fix envs for huly-stream app for local dev (#8171)

Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com>
This commit is contained in:
Denis Tingaikin
2025-03-07 19:15:22 +07:00
committed by GitHub
parent e8f32c4d9e
commit 877ca8ee54
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -60,7 +60,8 @@
"ELASTIC_INDEX_NAME": "local_storage_index",
"UPLOAD_URL": "/files",
"AI_BOT_URL": "http://localhost:4010",
"STATS_URL": "http://huly.local:4900"
"STATS_URL": "http://huly.local:4900",
"STREAM_URL": "http://huly.local:1080/recording"
},
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
"runtimeVersion": "20",
+1
View File
@@ -222,6 +222,7 @@ services:
- DESKTOP_UPDATES_URL=https://dist.huly.io
- DESKTOP_UPDATES_CHANNEL=dev
- BRANDING_URL=http://huly.local:8087/branding.json
- STREAM_URL=http://huly.local:1080/recording
# - DISABLE_SIGNUP=true
restart: unless-stopped
transactor:
+1 -1
View File
@@ -64,7 +64,6 @@
playlistLoadPolicy: loadPolicy,
autoStartLoad: preload,
xhrSetup: (xhr, url) => {
xhr.withCredentials = true
const urlObj = new URL(url)
if (urlObj.searchParams.size > 1) {
return
@@ -73,6 +72,7 @@
if (workspace == null) {
return
}
xhr.withCredentials = true
const fileName = urlObj.href.substring(urlObj.href.lastIndexOf('/') + 1)
urlObj.searchParams.append('file', fileName)
urlObj.searchParams.append('workspace', workspace)