mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 12:35:02 +02:00
Setting plugin (#328)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -24,6 +24,7 @@ import { contactId } from '@anticrm/contact'
|
||||
import { chunterId } from '@anticrm/chunter'
|
||||
import { recruitId } from '@anticrm/recruit'
|
||||
import { activityId } from '@anticrm/activity'
|
||||
import { settingId } from '@anticrm/setting'
|
||||
|
||||
import { serverChunterId } from '@anticrm/server-chunter'
|
||||
import { serverRecruitId } from '@anticrm/server-recruit'
|
||||
@@ -36,6 +37,7 @@ import '@anticrm/chunter-assets'
|
||||
import '@anticrm/contact-assets'
|
||||
import '@anticrm/recruit-assets'
|
||||
import '@anticrm/activity-assets'
|
||||
import '@anticrm/setting-assets'
|
||||
|
||||
import { setMetadata } from '@anticrm/platform'
|
||||
export function configurePlatform() {
|
||||
@@ -46,6 +48,7 @@ export function configurePlatform() {
|
||||
setMetadata(login.metadata.UploadUrl, value.UPLOAD_URL)
|
||||
})
|
||||
})
|
||||
setMetadata(login.metadata.TelegramUrl, process.env.TELEGRAM_URL)
|
||||
setMetadata(login.metadata.OverrideEndpoint, process.env.LOGIN_ENDPOINT)
|
||||
|
||||
if (process.env.CLIENT_TYPE === 'dev') {
|
||||
@@ -73,4 +76,5 @@ export function configurePlatform() {
|
||||
addLocation(chunterId, () => import(/* webpackChunkName: "chunter" */ '@anticrm/chunter-resources'))
|
||||
addLocation(recruitId, () => import(/* webpackChunkName: "recruit" */ '@anticrm/recruit-resources'))
|
||||
addLocation(activityId, () => import(/*webpackChunkName: "activity" */ '@anticrm/activity-resources'))
|
||||
addLocation(settingId, () => import(/* webpackChunkName: "setting" */ '@anticrm/setting-resources'))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user