diff --git a/packages/cli/src/WebhookHelpers.ts b/packages/cli/src/WebhookHelpers.ts index f0d5f63818..4f6c540bf8 100644 --- a/packages/cli/src/WebhookHelpers.ts +++ b/packages/cli/src/WebhookHelpers.ts @@ -463,6 +463,9 @@ export function getWebhookBaseUrl() { // @ts-ignore urlBaseWebhook = process.env.WEBHOOK_TUNNEL_URL || process.env.WEBHOOK_URL; } + if (!urlBaseWebhook.endsWith('/')) { + urlBaseWebhook += '/'; + } return urlBaseWebhook; }