From 1daec4def4396ef544fe57020d246629e3970f93 Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Tue, 10 Sep 2024 22:59:38 +0700 Subject: [PATCH] UBERF-8060: Fix user statuses and workspace selection (#6512) Signed-off-by: Andrey Sobolev --- dev/prod/public/config-huly.json | 23 +++++++++++++++++ .../src/components/SelectWorkspace.svelte | 25 ++++++++----------- server/backup/src/backup.ts | 13 +++++++--- server/middleware/src/domainTx.ts | 9 +------ server/ws/src/server_http.ts | 9 +++++-- 5 files changed, 51 insertions(+), 28 deletions(-) create mode 100644 dev/prod/public/config-huly.json diff --git a/dev/prod/public/config-huly.json b/dev/prod/public/config-huly.json new file mode 100644 index 00000000000..b98b428b93c --- /dev/null +++ b/dev/prod/public/config-huly.json @@ -0,0 +1,23 @@ +{ + "ACCOUNTS_URL": "https://account.huly.app/", + "UPLOAD_URL": "/files", + "FILES_URL": "/files/:workspace/:filename?file=:blobId&workspace=:workspace", + "REKONI_URL": "https://rekoni.huly.app", + "TELEGRAM_URL": "https://telegram.huly.app", + "GMAIL_URL": "https://gmail.huly.app/", + "CALENDAR_URL": "https://calendar.huly.app/", + "COLLABORATOR_URL": "wss://collaborator.huly.app", + "BRANDING_URL": "https://huly.app/huly-branding_v2.json", + "PREVIEW_CONFIG": "https://huly.app/files/:workspace?file=:blobId&size=:size", + "GITHUB_APP": "huly-for-github", + "GITHUB_CLIENTID": "Iv1.e263a087de0910e0", + "INTERCOM_APP_ID": "", + "INTERCOM_API_URL": "", + "GITHUB_URL": "https://github.huly.app", + "LIVEKIT_WS": "", + "LOVE_ENDPOINT": "https://love.huly.app/", + "SIGN_URL": "https://sign.huly.app", + "PRINT_URL": "https://print.huly.app", + "DESKTOP_UPDATES_CHANNEL": "huly", + "TELEGRAM_BOT_URL": "https://telegram-bot.huly.app" +} \ No newline at end of file diff --git a/plugins/login-resources/src/components/SelectWorkspace.svelte b/plugins/login-resources/src/components/SelectWorkspace.svelte index 5f6df4479cd..3a7be1b6507 100644 --- a/plugins/login-resources/src/components/SelectWorkspace.svelte +++ b/plugins/login-resources/src/components/SelectWorkspace.svelte @@ -16,51 +16,46 @@