mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-19 05:52:26 +00:00
Fix communication api config (#8955)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
parent
633da96b8e
commit
b5da594b5e
@ -270,7 +270,7 @@ export async function configurePlatform (): Promise<void> {
|
||||
setMetadata(github.metadata.GithubClientID, config.GITHUB_CLIENTID ?? '')
|
||||
setMetadata(github.metadata.GithubURL, config.GITHUB_URL ?? '')
|
||||
|
||||
setMetadata(communication.metadata.Enabled, config.COMMUNICATION_API_ENABLED)
|
||||
setMetadata(communication.metadata.Enabled, config.COMMUNICATION_API_ENABLED === 'true')
|
||||
|
||||
if (config.MODEL_VERSION != null) {
|
||||
console.log('Minimal Model version requirement', config.MODEL_VERSION)
|
||||
|
@ -44,7 +44,7 @@ export interface Config {
|
||||
CALDAV_SERVER_URL?: string
|
||||
EXPORT_URL?: string
|
||||
MAIL_URL?: string
|
||||
COMMUNICATION_API_ENABLED?: boolean
|
||||
COMMUNICATION_API_ENABLED?: string
|
||||
}
|
||||
|
||||
export interface Branding {
|
||||
|
@ -25,5 +25,5 @@
|
||||
"PUBLIC_SCHEDULE_URL": "http://huly.local:8060",
|
||||
"CALDAV_SERVER_URL": "http://huly.local:9070",
|
||||
"EXPORT_URL": "http://huly.local:4009",
|
||||
"COMMUNICATION_API_ENABLED": true
|
||||
"COMMUNICATION_API_ENABLED": "true"
|
||||
}
|
||||
|
@ -193,7 +193,7 @@ export interface Config {
|
||||
CALDAV_SERVER_URL?: string
|
||||
EXPORT_URL?: string
|
||||
MAIL_URL?: string,
|
||||
COMMUNICATION_API_ENABLED?: boolean
|
||||
COMMUNICATION_API_ENABLED?: string
|
||||
}
|
||||
|
||||
export interface Branding {
|
||||
@ -442,7 +442,7 @@ export async function configurePlatform() {
|
||||
setMetadata(presentation.metadata.MailUrl, config.MAIL_URL)
|
||||
setMetadata(recorder.metadata.StreamUrl, config.STREAM_URL)
|
||||
setMetadata(textEditor.metadata.Collaborator, config.COLLABORATOR)
|
||||
setMetadata(communication.metadata.Enabled, config.COMMUNICATION_API_ENABLED)
|
||||
setMetadata(communication.metadata.Enabled, config.COMMUNICATION_API_ENABLED === 'true')
|
||||
|
||||
if (config.MODEL_VERSION != null) {
|
||||
console.log('Minimal Model version requirement', config.MODEL_VERSION)
|
||||
|
Loading…
Reference in New Issue
Block a user