Skip to content

Commit

Permalink
Update registry_url.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlouv authored Sep 26, 2022
1 parent 9252641 commit 88b067d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const SNAPSHOT_REGISTRY_URL_CDN = 'https://epr-snapshot.elastic.co';
// const SNAPSHOT_REGISTRY_URL_NO_CDN = 'https://epr-snapshot.ea-web.elastic.dev';

const getDefaultRegistryUrl = (): string => {
const branch = appContextService.getKibanaBranch();
const isProduction = appContextService.getIsProductionMode();
if (!isProduction || branch === 'main') {
return SNAPSHOT_REGISTRY_URL_CDN;
Expand Down

0 comments on commit 88b067d

Please sign in to comment.