Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo authored Oct 3, 2023
1 parent 9fc26e0 commit 0970ea4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const cacheValueInSettings = <T extends SettingValue>(
const releaseEndpoint =
process.env.OVERWRITE_INTERNAL_RELEASE_URL && process.env.OVERWRITE_INTERNAL_RELEASE_URL.trim().length > 0
? process.env.OVERWRITE_INTERNAL_RELEASE_URL
: 'https://releases.rocket.chat';
: 'https://releases.rocket.chat/v2/server/supportedVersions';

const getSupportedVersionsFromCloud = async () => {
if (process.env.CLOUD_SUPPORTED_VERSIONS_TOKEN) {
Expand Down

0 comments on commit 0970ea4

Please sign in to comment.