From f7c06fb3d0fd2956d16c4a603ccf188b1b946589 Mon Sep 17 00:00:00 2001 From: raviramnani Date: Sat, 27 Jul 2024 14:14:44 +0530 Subject: [PATCH] Buy_now set Next_public_api_key env variable as BaseURL --- buy-now/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buy-now/pages/index.tsx b/buy-now/pages/index.tsx index 321b295d54..b3ec2867da 100644 --- a/buy-now/pages/index.tsx +++ b/buy-now/pages/index.tsx @@ -138,7 +138,7 @@ export default function EaselBuyMainPage({ export async function getServerSideProps({ res, query }: any): Promise { const recipeId: string = query?.recipe_id ?? ""; const cookbookId: string = query?.cookbook_id ?? ""; - const baseURL: string = process.env.NEXT_PUBLIC_API_KEY ?? ""; + const baseURL: string = process.env.NEXT_PUBLIC_API_KEY ?? ""; if (!recipeId || !cookbookId) { return { redirect: {