fix: USE_INTERNAL_URL_BROWSERLESS breaks builds

This commit is contained in:
Lucas Smith
2025-11-23 11:16:10 +11:00
parent 16ee6b7a6d
commit c1bbd52d8a
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',