Skip to content

Commit

Permalink
fixes dashboard url
Browse files Browse the repository at this point in the history
  • Loading branch information
arch1995 committed Dec 12, 2024
1 parent c576b06 commit 1d693a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> {
Expand Down

0 comments on commit 1d693a4

Please sign in to comment.