Fix desktop BackupURL (#7701)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2025-01-17 21:49:43 +07:00 committed by GitHub
parent a2eb0de7f5
commit 3fd44ac5fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -33,7 +33,7 @@ import presence, { presenceId } from '@hcengineering/presence'
import { recruitId } from '@hcengineering/recruit'
import rekoni from '@hcengineering/rekoni'
import { requestId } from '@hcengineering/request'
import { settingId } from '@hcengineering/setting'
import setting, { settingId } from '@hcengineering/setting'
import { supportId } from '@hcengineering/support'
import { tagsId } from '@hcengineering/tags'
import { taskId } from '@hcengineering/task'
@ -346,6 +346,8 @@ export async function configurePlatform (): Promise<void> {
configureNotifications()
setMetadata(setting.metadata.BackupUrl, config.BACKUP_URL ?? '')
if (config.INITIAL_URL !== '') {
setLocationStorageKey('uberflow_child')
}

View File

@ -38,6 +38,8 @@ export interface Config {
UPLOAD_CONFIG: string
UPLOAD_URL: string
VERSION?: string
BACKUP_URL?: string
}
export interface Branding {