Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: devbox plugin gzg http bug #5301

Merged
merged 4 commits into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions extensions/ide/vscode/devbox/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how

## [Unreleased]

## [1.3.0] - 2024-12-24

### Fixed

- Fix http url -> https url.

## [1.2.3] - 2024-12-24

### Fixed

- Fix Windows file authority issue caused by `Everyone` group.

## [1.2.2] - 2024-12-09

### Changed

- Adjust `Remote-SSH` to install by code.
Expand Down
2 changes: 1 addition & 1 deletion extensions/ide/vscode/devbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "devbox-aio",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.3.2024122401",
"version": "1.3.0",
"keywords": [
"devbox",
"remote development",
Expand Down
2 changes: 1 addition & 1 deletion extensions/ide/vscode/devbox/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export async function activate(context: vscode.ExtensionContext) {
const remoteUri = workspaceFolder.uri.authority
const devboxId = remoteUri.replace(/^ssh-remote\+/, '') // devbox = sshHostLabel
const region = GlobalStateManager.getRegion(devboxId)
updateBaseUrl(`http://devbox.${region}`)
updateBaseUrl(`https://devbox.${region}`)
}

// network view
Expand Down
4 changes: 2 additions & 2 deletions extensions/ide/vscode/devbox/src/providers/DBViewProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', [
Expand Down Expand Up @@ -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])
}
}
Expand Down
Loading