From 4260790d23d56ffa1a541d698605169141e11acd Mon Sep 17 00:00:00 2001 From: raviramnani Date: Sat, 27 Jul 2024 14:42:47 +0530 Subject: [PATCH] created a new env variable Next_public_COSMOS_URL and set it 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..9606f4100f 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_COSMOS_URL ?? ""; if (!recipeId || !cookbookId) { return { redirect: {