Skip to content

Commit

Permalink
Fix desktop BackupURL (#7701)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
  • Loading branch information
haiodo authored Jan 17, 2025
1 parent a2eb0de commit 3fd44ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion desktop/src/ui/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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')
}
Expand Down
2 changes: 2 additions & 0 deletions desktop/src/ui/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ export interface Config {
UPLOAD_CONFIG: string
UPLOAD_URL: string
VERSION?: string

BACKUP_URL?: string
}

export interface Branding {
Expand Down

0 comments on commit 3fd44ac

Please sign in to comment.