Signup fix (#798)

Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
Denis Bykhov
2022-01-11 14:35:21 +01:00
committed by GitHub
parent 459d7b3261
commit d188eaec91
11 changed files with 71 additions and 36 deletions
+10 -9
View File
@@ -18,13 +18,14 @@ import { createApp } from '@anticrm/ui'
import { configurePlatform } from './platform'
import { configurePlatformDev, configurePlatformDevServer } from './platform-dev'
configurePlatform()
configurePlatform().then(() => {
if (process.env.CLIENT_TYPE === 'dev') {
configurePlatformDev()
}
if (process.env.CLIENT_TYPE === 'dev-server') {
configurePlatformDevServer()
}
createApp(document.body)
})
if (process.env.CLIENT_TYPE === 'dev') {
configurePlatformDev()
}
if (process.env.CLIENT_TYPE === 'dev-server') {
configurePlatformDevServer()
}
createApp(document.body)