fix: Missing /compose in auto-deploy URL

This commit is contained in:
Patrick Schiess
2025-05-16 16:12:09 -06:00
parent 80e6f21840
commit bf115c7895

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} />