From e0e094161f4d8c5edad348f4ebf5ba44f9c2b99b Mon Sep 17 00:00:00 2001 From: chesterip Date: Tue, 23 Apr 2024 19:09:43 -0400 Subject: [PATCH] Fix URL --- services/convert/convert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/convert/convert.go b/services/convert/convert.go index e1243692f0..1fd46f6bdc 100644 --- a/services/convert/convert.go +++ b/services/convert/convert.go @@ -201,7 +201,7 @@ func ToActionTask(ctx context.Context, repo *repo_model.Repository, t *actions_m panic(fmt.Sprintf("failed to execute ActionTask.LoadAttributes(): %v", err)) } - url := fmt.Sprintf("%s%s", setting.AppURL, t.GetRunLink()) + url := strings.TrimSuffix(setting.AppURL, "/") + t.GetRunLink() return &api.ActionTask{ ID: t.ID,