We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0a153c commit beab0b0Copy full SHA for beab0b0
multichannel-app/frontend/app/api/admin/bind/route.ts
@@ -11,7 +11,7 @@ export const GET = async (_req: Request) => {
11
const phone_number = VONAGE_LVN;
12
const application_id = VONAGE_APPLICATION_ID;
13
const endpoint = process.env.ENDPOINT;
14
- const webhooks_host = process.env.NEXT_PUBLIC_VERCEL_URL ? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}`:endpoint;
+ const webhooks_host = process.env.ENDPOINT ? endpoint: `https://${process.env.NEXT_PUBLIC_VERCEL_URL}`;
15
const WEBHOOKS_URL = `${webhooks_host}/api`;
16
const api_key = VONAGE_API_KEY;
17
const api_secret = VONAGE_API_SECRET;
0 commit comments