Skip to content

Commit

Permalink
Merge pull request #9 from tnfAngel-Chat:dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
tnfAngel authored Apr 16, 2024
2 parents b582d02 + a4297ec commit a7b617b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .env.production
Original file line number Diff line number Diff line change
@@ -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
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
2 changes: 1 addition & 1 deletion src/client/links.ts
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit a7b617b

Please sign in to comment.