Skip to content

Commit

Permalink
fix:[IDP-3422]: Fix for CD service URL with gitsync/remote setup
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepa-kv-jois authored Aug 15, 2024
1 parent de7ff8c commit 024aed8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/harness-ci-cd/src/hooks/useProjectSlugEntity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const useProjectSlugFromEntity = (
);

serviceUrlMatch = match(
'(.*)/account/:accountId/module/:module/orgs/:orgId/projects/:projectId/services/:serviceId',
'(.*)/account/:accountId/module/:module/orgs/:orgId/projects/:projectId/services/:serviceId/(.*)',
{
decode: decodeURIComponent,
},
Expand All @@ -45,7 +45,7 @@ export const useProjectSlugFromEntity = (
);

serviceUrlMatch = match(
'(.*)/account/:accountId/all/orgs/:orgId/projects/:projectId/services/:serviceId',
'(.*)/account/:accountId/all/orgs/:orgId/projects/:projectId/services/:serviceId/(.*)',
{
decode: decodeURIComponent,
},
Expand All @@ -59,7 +59,7 @@ export const useProjectSlugFromEntity = (
);

serviceUrlMatch = match(
'(.*)/account/:accountId/:module/orgs/:orgId/projects/:projectId/services/:serviceId',
'(.*)/account/:accountId/:module/orgs/:orgId/projects/:projectId/services/:serviceId/(.*)',
{
decode: decodeURIComponent,
},
Expand Down

0 comments on commit 024aed8

Please sign in to comment.