From c3c47cde2ebad1b2947f2a7cc2ca8b5d74d8e0b9 Mon Sep 17 00:00:00 2001 From: mlhiter <3076438032@qq.com> Date: Tue, 24 Dec 2024 17:13:31 +0800 Subject: [PATCH] fix: bug --- extensions/ide/vscode/devbox/src/providers/DBViewProvider.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/ide/vscode/devbox/src/providers/DBViewProvider.ts b/extensions/ide/vscode/devbox/src/providers/DBViewProvider.ts index b1c99f5a7ca..d97f38fa830 100644 --- a/extensions/ide/vscode/devbox/src/providers/DBViewProvider.ts +++ b/extensions/ide/vscode/devbox/src/providers/DBViewProvider.ts @@ -83,7 +83,7 @@ export class DBViewProvider const remoteUri = workspaceFolder.uri.authority const devboxId = remoteUri.replace(/^ssh-remote\+/, '') // devbox = sshHostLabel const region = GlobalStateManager.getRegion(devboxId) - targetUrl = `http://${region}?openapp=system-dbprovider` + targetUrl = `https://${region}?openapp=system-dbprovider` this._register( vscode.commands.registerCommand('devbox.gotoDatabaseWebPage', () => { vscode.commands.executeCommand('devbox.openExternalLink', [ @@ -143,7 +143,7 @@ export class DBViewProvider const remoteUri = workspaceFolder.uri.authority const devboxId = remoteUri.replace(/^ssh-remote\+/, '') // devbox = sshHostLabel const region = GlobalStateManager.getRegion(devboxId) - targetUrl = `http://${region}?openapp=system-terminal?defaultCommand=${targetCommand}` + targetUrl = `https://${region}?openapp=system-terminal?defaultCommand=${targetCommand}` vscode.commands.executeCommand('devbox.openExternalLink', [targetUrl]) } }