We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1719727 commit fffda3fCopy full SHA for fffda3f
src/commands.ts
@@ -21,6 +21,11 @@ export class Commands {
21
if (!url) {
22
return
23
}
24
+ if (!url.startsWith("http://") && !url.startsWith("https://")) {
25
+ // Default to HTTPS if not provided!
26
+ // https://github.com/coder/vscode-coder/issues/44
27
+ url = "https://" + url
28
+ }
29
30
let token: string | undefined = args.length >= 2 ? args[1] : undefined
31
if (!token) {
0 commit comments