From 4566de14d7da0c5e9b047fa561349ad6d35deca6 Mon Sep 17 00:00:00 2001 From: Timur Carpeev Date: Wed, 21 Aug 2024 10:56:53 +0200 Subject: [PATCH] Use branch --- src/app/api/demo-payment/route.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/api/demo-payment/route.ts b/src/app/api/demo-payment/route.ts index a18104b7d..60f8691ae 100644 --- a/src/app/api/demo-payment/route.ts +++ b/src/app/api/demo-payment/route.ts @@ -1,7 +1,8 @@ const removeWhiteSpace = (str: string): string => { return str.replaceAll(/[\t\n]/g, ""); }; -const url = `https://${process.env.VERCEL_URL}`; + +const url = `https://${process.env.VERCEL_BRANCH_URL}`; export async function GET() { return Response.json({