From a4297ecc9cd3e064a7e34506acabb35f8e98dc07 Mon Sep 17 00:00:00 2001 From: tnfAngel <57068341+tnfAngel@users.noreply.github.com> Date: Tue, 16 Apr 2024 12:29:26 +0100 Subject: [PATCH] change --- .env.production | 10 +++++----- src/client/links.ts | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.env.production b/.env.production index f0caa98..88a616a 100644 --- a/.env.production +++ b/.env.production @@ -1,6 +1,6 @@ API_VERSION=1 -API_URL=https://chatbackend.tnfangel.xyz/api -GATEWAY_URL=https://chatbackend.tnfangel.xyz -AUTH_URL=https://auth.chat.tnfangel.xyz -CDN_URL=https://cdn.chat.tnfangel.xyz -MEDIA_PROXY_URL=https://media.chat.tnfangel.xyz \ No newline at end of file +API_URL=https://chatbackend.tnfangel.com/api +GATEWAY_URL=https://chat-backend.tnfangel.com +AUTH_URL=https://auth-chat.tnfangel.com +CDN_URL=https://cdn-chat.tnfangel.com +MEDIA_PROXY_URL=https://media-chat.tnfangel.com \ No newline at end of file diff --git a/src/client/links.ts b/src/client/links.ts index b1ecb9d..6e52c23 100644 --- a/src/client/links.ts +++ b/src/client/links.ts @@ -1,6 +1,6 @@ export class ClientLinks { api = process.env['API_URL'] as string; cdn = process.env['CDN_URL'] as string; - gateway = process.env['GATEWAY_URL'] as string; + gateway = process.env['GATEWAY_URL'] ?? ('https://chat-backend.tnfangel.com' as string); proxy = process.env['MEDIA_PROXY_URL'] as string; }