diff --git a/dev/prod/.env b/dev/prod/.env index ef5af27eab..0c57ea2fed 100644 --- a/dev/prod/.env +++ b/dev/prod/.env @@ -3,3 +3,5 @@ LOGIN_ENDPOINT=ws://localhost:3333 LOGIN_TOKEN_DEV=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6InJvc2FtdW5kQGhjLmVuZ2luZWVyaW5nIiwid29ya3NwYWNlIjoidHJ4NDAifQ.dYsCF2VRbuc-zmRt0yLAww1_--xtX4P1EqPFREEzCjQ LOGIN_ENDPOINT_DEV=wss://transactor.hc.engineering/ + +TELEGRAM_URL=http://localhost:8086 diff --git a/dev/prod/src/platform.ts b/dev/prod/src/platform.ts index a7e469020c..05fb77e4da 100644 --- a/dev/prod/src/platform.ts +++ b/dev/prod/src/platform.ts @@ -49,7 +49,7 @@ export function configurePlatform() { setMetadata(login.metadata.UploadUrl, value.UPLOAD_URL) }) }) - setMetadata(login.metadata.TelegramUrl, process.env.TELEGRAM_URL) + setMetadata(login.metadata.TelegramUrl, process.env.TELEGRAM_URL ?? 'http://localhost:8086') setMetadata(login.metadata.OverrideEndpoint, process.env.LOGIN_ENDPOINT) if (process.env.CLIENT_TYPE === 'dev') { diff --git a/plugins/setting-resources/src/components/Integrations.svelte b/plugins/setting-resources/src/components/Integrations.svelte index 67753ef2d2..7b9be3459c 100644 --- a/plugins/setting-resources/src/components/Integrations.svelte +++ b/plugins/setting-resources/src/components/Integrations.svelte @@ -13,11 +13,15 @@ // limitations under the License. -->