diff --git a/buy-now/pages/index.tsx b/buy-now/pages/index.tsx index d32e04bd22..321b295d54 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 = "https://api.pylons.nodestake.top"; + const baseURL: string = process.env.NEXT_PUBLIC_API_KEY ?? ""; if (!recipeId || !cookbookId) { return { redirect: {