diff --git a/components/server/src/workspace/context-parser.ts b/components/server/src/workspace/context-parser.ts index ac7bfffcacb93f..ea1956f3e8d80a 100644 --- a/components/server/src/workspace/context-parser.ts +++ b/components/server/src/workspace/context-parser.ts @@ -32,6 +32,9 @@ export abstract class AbstractContextParser implements IContextParser { if (url.startsWith(`${this.host}/`)) { url = `https://${url}`; } + if (url.startsWith(`git@${this.host}:`)) { + return `https://${this.host}/` + url.slice(`git@${this.host}:`.length); + } if (url.startsWith(`https://${this.host}/`)) { return url; }