From 1d693a4a3c56f37189e49a441ec2fcbf36a39ff3 Mon Sep 17 00:00:00 2001 From: Archit Date: Thu, 12 Dec 2024 11:01:18 +0530 Subject: [PATCH] fixes dashboard url --- src/core/auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/auth.ts b/src/core/auth.ts index 3c05916d..bcbbaca1 100644 --- a/src/core/auth.ts +++ b/src/core/auth.ts @@ -131,8 +131,8 @@ export class Auth { private get dashboardUrl(): string { // testing and develop don't have versioning - if (!this.addVersionInUrls) return `${this.options.sdkUrl}`; - return `${this.options.sdkUrl}/v${version.split(".")[0]}`; + if (!this.addVersionInUrls) return `${this.options.dashboardUrl}`; + return `${this.options.dashboardUrl}/v${version.split(".")[0]}`; } async init(): Promise {