Merge pull request #1904 from darena-patrick/fix/compose-deploy-url

fix: Missing `/compose` in auto-deploy URL
This commit is contained in:
Mauricio Siu
2025-05-16 23:00:47 -06:00
committed by GitHub

View File

@@ -86,7 +86,7 @@ export const ShowDeployments = ({
<span>Webhook URL: </span>
<div className="flex flex-row items-center gap-2">
<span className="break-all text-muted-foreground">
{`${url}/api/deploy/${refreshToken}`}
{`${url}/api/deploy${type === 'compose' ? '/compose' : ''}/${refreshToken}`}
</span>
{(type === "application" || type === "compose") && (
<RefreshToken id={id} type={type} />