From 33873ce1e9389f9ee65ddac461e61ac9cdc195cf Mon Sep 17 00:00:00 2001 From: A-D-E Date: Tue, 5 Aug 2025 21:31:15 +0200 Subject: [PATCH 1/2] fix: use configured GitLab URL instead of hardcoded gitlab.com The previous pagination implementation accidentally hardcoded the GitLab URL to gitlab.com, breaking the integration for self-hosted GitLab instances. Changes: - Replace hardcoded 'https://gitlab.com' with gitlabProvider.gitlabUrl - Maintains the pagination functionality added in previous commit Fixes: GitLab branches API calls failing for self-hosted instances --- packages/server/src/utils/providers/gitlab.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/utils/providers/gitlab.ts b/packages/server/src/utils/providers/gitlab.ts index 774cd818f..1971308b2 100644 --- a/packages/server/src/utils/providers/gitlab.ts +++ b/packages/server/src/utils/providers/gitlab.ts @@ -316,7 +316,7 @@ export const getGitlabBranches = async (input: { while (true) { const branchesResponse = await fetch( - `https://gitlab.com/api/v4/projects/${input.id}/repository/branches?page=${page}&per_page=${perPage}`, + `${gitlabProvider.gitlabUrl}/api/v4/projects/${input.id}/repository/branches?page=${page}&per_page=${perPage}`, { headers: { Authorization: `Bearer ${gitlabProvider.accessToken}`, From edbdc01a1e81741eb0b51335b340da1ed036cebb Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sun, 10 Aug 2025 06:12:28 -0600 Subject: [PATCH 2/2] chore(package): bump version to v0.24.9 --- apps/dokploy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dokploy/package.json b/apps/dokploy/package.json index 7af18336b..481c4956c 100644 --- a/apps/dokploy/package.json +++ b/apps/dokploy/package.json @@ -1,6 +1,6 @@ { "name": "dokploy", - "version": "v0.24.8", + "version": "v0.24.9", "private": true, "license": "Apache-2.0", "type": "module",