mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 21:27:46 +02:00
fix envs for huly-stream app for local dev (#8171)
Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com>
This commit is contained in:
Vendored
+2
-1
@@ -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",
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user