From 2a8566ae73643d12acabf412b419552bfa158ba4 Mon Sep 17 00:00:00 2001 From: Helio Machado <0x2b3bfa0+git@googlemail.com> Date: Thu, 24 Oct 2024 02:02:02 +0200 Subject: [PATCH] Use base URL of GitLab for the `/uploads` URLs --- src/drivers/gitlab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/gitlab.js b/src/drivers/gitlab.js index f5cebdbc7..7f4c3441d 100644 --- a/src/drivers/gitlab.js +++ b/src/drivers/gitlab.js @@ -141,7 +141,7 @@ class Gitlab { const { url } = await this.request({ endpoint, method: 'POST', body }); - return { uri: `${repo}${url}`, mime, size }; + return { uri: `${await this.repoBase()}${url}`, mime, size }; } async runnerToken(body) {