diff --git a/packages/connect/src/data/version.ts b/packages/connect/src/data/version.ts index d36e5130086..cad82c986f7 100644 --- a/packages/connect/src/data/version.ts +++ b/packages/connect/src/data/version.ts @@ -2,4 +2,8 @@ export const VERSION = '9.2.4-beta.1'; const versionN = VERSION.split('.').map(s => parseInt(s, 10)); -export const DEFAULT_DOMAIN = `https://connect.trezor.io/${versionN[0]}/`; +const isBeta = VERSION.includes('beta'); + +export const DEFAULT_DOMAIN = isBeta + ? `https://connect.trezor.io/${VERSION}/` + : `https://connect.trezor.io/${versionN[0]}/`;