Skip to content

Commit f2d4321

Browse files
committed
fix(#206): Respect host setting in environment variable and fix gitlab clone issue.
1 parent b36e550 commit f2d4321

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Fixed
1111
- Fixed issue where parenthesis in query params were not being encoded, resulting in a poor experience when embedding links in Markdown. [#674](https://github.com/sourcebot-dev/sourcebot/pull/674)
12+
- Gitlab clone respects host protocol setting in environment variable. [#676](https://github.com/sourcebot-dev/sourcebot/pull/676)
1213

1314
## [4.10.3] - 2025-12-12
1415

packages/backend/src/repoCompileUtils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export const compileGitlabConfig = async (
123123
const repos = gitlabRepos.map((project) => {
124124
const projectUrl = `${hostUrl}/${project.path_with_namespace}`;
125125
const cloneUrl = new URL(project.http_url_to_repo);
126+
cloneUrl.protocol = new URL(hostUrl).protocol;
126127
const isFork = project.forked_from_project !== undefined;
127128
const isPublic = project.visibility === 'public';
128129
const repoDisplayName = project.path_with_namespace;

0 commit comments

Comments
 (0)