fix: USE_INTERNAL_URL_BROWSERLESS breaks builds (#2233)

This commit is contained in:
Lucas Smith
2025-11-23 23:49:08 +11:00
committed by GitHub
parent 16ee6b7a6d
commit ae31860b16
5 changed files with 35 additions and 16 deletions

View File

@ -29,7 +29,7 @@ export const triggerWebhook = async ({ event, data, userId, teamId }: TriggerWeb
const signature = sign(body);
await Promise.race([
fetch(`${NEXT_PRIVATE_INTERNAL_WEBAPP_URL}/api/webhook/trigger`, {
fetch(`${NEXT_PRIVATE_INTERNAL_WEBAPP_URL()}/api/webhook/trigger`, {
method: 'POST',
headers: {
'content-type': 'application/json',