mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-29 04:55:03 +02:00
Signup fix (#798)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user