Просмотр исходного кода

Merge branch 'gitlab-integration' of github.com:porter-dev/porter into dev

jnfrati 4 лет назад
Родитель
Сommit
04d6742726
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      dashboard/src/shared/api.tsx

+ 1 - 1
dashboard/src/shared/api.tsx

@@ -570,7 +570,7 @@ const getGitlabProcfileContents = baseApi<
 >(
 >(
   "GET",
   "GET",
   ({ project_id, integration_id, owner, name, branch }) =>
   ({ project_id, integration_id, owner, name, branch }) =>
-    `/projects/${project_id}/integrations/gitlab/${integration_id}/${owner}/${name}/${encodeURIComponent(
+    `/api/projects/${project_id}/integrations/gitlab/${integration_id}/repos/${owner}/${name}/${encodeURIComponent(
       branch
       branch
     )}/procfile`
     )}/procfile`
 );
 );