Skip to content

Commit

Permalink
Merge pull request #411 from 06Games/patch-1
Browse files Browse the repository at this point in the history
Open dashboard messes up the url
  • Loading branch information
alanhamlett authored Nov 22, 2024
2 parents 290673a + f05c8bd commit 86b7a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wakatime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ export class WakaTime {
}

public async openDashboardWebsite(): Promise<void> {
const url = (await this.options.getApiUrl(true)).replace('/api/v1', '').replace('api.', '');
const url = (await this.options.getApiUrl(true)).replace('/api/v1', '').replace('://api.', '://');
vscode.env.openExternal(vscode.Uri.parse(url));
}

Expand Down

0 comments on commit 86b7a29

Please sign in to comment.