mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-05 15:24:22 +00:00
Fix (#799)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
parent
d188eaec91
commit
d7e1c44682
@ -46,8 +46,8 @@ import '@anticrm/workbench-assets'
|
||||
|
||||
import { setMetadata } from '@anticrm/platform'
|
||||
export async function configurePlatform() {
|
||||
await fetch('/config.json').then(config => {
|
||||
config.json().then(value => {
|
||||
await fetch('/config.json').then(async (config) => {
|
||||
await config.json().then(value => {
|
||||
console.log('loading configuration', value)
|
||||
setMetadata(login.metadata.AccountsUrl, value.ACCOUNTS_URL)
|
||||
setMetadata(login.metadata.UploadUrl, value.UPLOAD_URL)
|
||||
|
Loading…
Reference in New Issue
Block a user